A class for recording the definition of Mink replacements.
Copyright: | 2019 Andrew Nicols <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 99 lines (3 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
behat_component_named_replacement:: (3 methods):
__construct()
get_from()
get_to()
Class: behat_component_named_replacement - X-Ref
A class for recording the definition of Mink replacements for use in Mink selectors.__construct(string $from, string $to) X-Ref |
Create the replacement. param: string $from this is the old selector that should no longer be used. param: string $to this is the new equivalent that should be used instead. |
get_from(string $component) X-Ref |
Get the 'from' part of the replacement, formatted for the component. return: string param: string $component |
get_to() X-Ref |
Get the 'to' part of the replacement. return: string Target xpath |