PHP Class Facebook\InstantArticles\Transformer\Getters\ElementGetter

Inheritance: extends Facebook\InstantArticles\Transformer\Getters\AbstractGetter
显示文件 Open project: facebook/facebook-instant-articles-sdk-php Class Usage Examples

Protected Properties

Property Type Description
$selector string

Public Methods

Method Description
createFrom ( $properties )
findAll ( DOMNode $node, string $selector ) : DOMNodeList
get ( $node )
withSelector ( string $selector )

Method Details

createFrom() public method

public createFrom ( $properties )

findAll() public method

public findAll ( DOMNode $node, string $selector ) : DOMNodeList
$node DOMNode
$selector string
return DOMNodeList

get() public method

public get ( $node )

withSelector() public method

public withSelector ( string $selector )
$selector string

Property Details

$selector protected_oe property

protected string $selector
return string