library/QATools/QATools/BEM/Annotation/BEMAnnotation.php
public function getSelector(LocatorHelper $locator_helper)
	{
		list($modificator_name, $modificator_value) = $this->getModificator();

		if ( $this->element ) {
			return $locator_helper->getElementLocator(
				$this->element,
				$this->block,
				$modificator_name,
				$modificator_value
			);
		}

		return $locator_helper->getBlockLocator($this->block, $modificator_name, $modificator_value);
	}
public function getSelector(LocatorHelper $locator_helper)
	{
		list($modificator_name, $modificator_value) = $this->getModificator();

		if ( $this->element ) {
			return $locator_helper->getElementLocator(
				$this->element,
				$this->block,
				$modificator_name,
				$modificator_value
			);
		}

		return $locator_helper->getBlockLocator($this->block, $modificator_name, $modificator_value);
	}
public function getSelector ( LocatorHelper $ locator_helper ) { list ( $ modificator_name , $ modificator_value ) = $ this -> getModificator ( ) ; if ( $ this -> element ) { return $ locator_helper -> getElementLocator ( $ this -> element , $ this -> block , $ modificator_name , $ modificator_value ) ; } return $ locator_helper -> getBlockLocator ( $ this -> block , $ modificator_name , $ modificator_value ) ; }
Returns selector, that combines block, element and modificator.

@param LocatorHelper $locator_helper Locator helper.

@return array
Returns selector that combines block element and modificator .