class BEMAnnotation extends Annotation (View source)

Defines BEM meta-data.

Properties

string $block Block name.
string $element Element name.
array $modificator Modificator.

Methods

array
getSelector(LocatorHelper $locator_helper)

Returns selector, that combines block, element and modificator.

array
getModificator()

Returns modificator.

Details

array getSelector(LocatorHelper $locator_helper)

Returns selector, that combines block, element and modificator.

Parameters

LocatorHelper $locator_helper Locator helper.

Return Value

array

protected array getModificator()

Returns modificator.

Return Value

array