public function SelectorsHandler::registerSelector in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/src/Selector/SelectorsHandler.php \Behat\Mink\Selector\SelectorsHandler::registerSelector()
Registers new selector engine with specified name.
Parameters
string $name selector engine name:
SelectorInterface $selector selector engine instance:
1 call to SelectorsHandler::registerSelector()
- SelectorsHandler::__construct in vendor/
behat/ mink/ src/ Selector/ SelectorsHandler.php - Initializes selectors handler.
File
- vendor/
behat/ mink/ src/ Selector/ SelectorsHandler.php, line 49
Class
- SelectorsHandler
- Selectors handler.
Namespace
Behat\Mink\SelectorCode
public function registerSelector($name, SelectorInterface $selector) {
$this->selectors[$name] = $selector;
}