PHP Class Transphporm\Property\Repeat

Inheritance: implements Transphporm\Property
Exibir arquivo Open project: level-2/transphporm

Public Methods

Method Description
__construct ( FunctionSet $functionSet, Transphporm\Hook\ElementData $elementData, &$line )
run ( array $values, DomElement $element, array $rules, Transphporm\Hook\PseudoMatcher $pseudoMatcher, array $properties = [] )

Private Methods

Method Description
cloneElement ( $element, $iteration, $key, $count )
createHook ( $newRules, $pseudoMatcher, $properties )
fixEmpty ( $value )
getMax ( $values )
tagElement ( $element, $count )

Method Details

__construct() public method

public __construct ( FunctionSet $functionSet, Transphporm\Hook\ElementData $elementData, &$line )
$functionSet Transphporm\FunctionSet
$elementData Transphporm\Hook\ElementData

run() public method

public run ( array $values, DomElement $element, array $rules, Transphporm\Hook\PseudoMatcher $pseudoMatcher, array $properties = [] )
$values array
$element DomElement
$rules array
$pseudoMatcher Transphporm\Hook\PseudoMatcher
$properties array