| 1 | <?php |
||
| 21 | class NodeListFactory |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var Locator |
||
| 25 | */ |
||
| 26 | protected $locator; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param Locator $locator |
||
| 30 | */ |
||
| 31 | public function __construct(Locator $locator) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param array|DomNodeList $nodes DOMNodes in array or DOMNodelist |
||
| 38 | * @return NodeList |
||
| 39 | * @throws InvalidArgumentException |
||
| 40 | */ |
||
| 41 | public function create($nodes) |
||
| 49 | } |
||
| 50 |