You are here

public function SelectorsHandler::isSelectorRegistered in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Selector/SelectorsHandler.php \Behat\Mink\Selector\SelectorsHandler::isSelectorRegistered()

Checks whether selector with specified name is registered on handler.

Parameters

string $name selector engine name:

Return value

Boolean

1 call to SelectorsHandler::isSelectorRegistered()
SelectorsHandler::getSelector in vendor/behat/mink/src/Selector/SelectorsHandler.php
Returns selector engine with specified name.

File

vendor/behat/mink/src/Selector/SelectorsHandler.php, line 61

Class

SelectorsHandler
Selectors handler.

Namespace

Behat\Mink\Selector

Code

public function isSelectorRegistered($name) {
  return isset($this->selectors[$name]);
}