PHP Class Transphporm\Config

显示文件 Open project: level-2/transphporm Class Usage Examples

Public Methods

Method Description
__construct ( Functionset $functionSet, Value $valueParser, Transphporm\Hook\ElementData $elementData, Transphporm\Hook\Formatter $formatter, Transphporm\Parser\CssToXpath $xPath, FilePath $filePath, &$headers )
createPseudoMatcher ( $pseudo )
getCssToXpath ( )
getElementData ( )
getFilePath ( )
getFormatter ( )
getFunctionSet ( )
getHeaders ( )
getLine ( )
getValueParser ( )
loadProperties ( Transphporm\Hook\PropertyHook $hook )
registerFormatter ( $formatter )
registerProperty ( $name, transphporm\Property $property )
registerPseudo ( transphporm\Pseudo $pseudo )

Method Details

__construct() public method

public __construct ( Functionset $functionSet, Value $valueParser, Transphporm\Hook\ElementData $elementData, Transphporm\Hook\Formatter $formatter, Transphporm\Parser\CssToXpath $xPath, FilePath $filePath, &$headers )
$functionSet Functionset
$valueParser Transphporm\Parser\Value
$elementData Transphporm\Hook\ElementData
$formatter Transphporm\Hook\Formatter
$xPath Transphporm\Parser\CssToXpath
$filePath FilePath

createPseudoMatcher() public method

public createPseudoMatcher ( $pseudo )

getCssToXpath() public method

public getCssToXpath ( )

getElementData() public method

public getElementData ( )

getFilePath() public method

public getFilePath ( )

getFormatter() public method

public getFormatter ( )

getFunctionSet() public method

public getFunctionSet ( )

getHeaders() public method

public getHeaders ( )

getLine() public method

public getLine ( )

getValueParser() public method

public getValueParser ( )

loadProperties() public method

public loadProperties ( Transphporm\Hook\PropertyHook $hook )
$hook Transphporm\Hook\PropertyHook

registerFormatter() public method

public registerFormatter ( $formatter )

registerProperty() public method

public registerProperty ( $name, transphporm\Property $property )
$property transphporm\Property

registerPseudo() public method

public registerPseudo ( transphporm\Pseudo $pseudo )
$pseudo transphporm\Pseudo