\WebinoDraw\Dom\LocatorTransformator

Summary

Methods
Properties
Constants
__construct()
getStrategyFactory()
setStrategyFactory()
offsetGet()
offsetSet()
locator2Xpath()
No public properties found
No constants found
No protected methods found
$strategyFactory
N/A
No private methods found
No private properties found
N/A

Properties

Methods

__construct()

__construct(array  $array = array()) 

Parameters

array $array

offsetGet()

offsetGet(string  $index) : mixed

Parameters

string $index

Strategy type

Returns

mixed

offsetSet()

offsetSet(string  $index, \WebinoDraw\Dom\Locator\TransformatorInterface  $strategy) 

Add strategy

Parameters

string $index

Strategy type

\WebinoDraw\Dom\Locator\TransformatorInterface $strategy

Throws

\WebinoDraw\Exception\UnexpectedValueException

locator2Xpath()

locator2Xpath(string  $locator) : string

Select strategy and transform locator to XPath

Parameters

string $locator

Returns

string