1 | <?php |
||
17 | class Author extends RuleAbstract |
||
18 | { |
||
19 | |||
20 | const NODE_NAME = 'author'; |
||
21 | |||
22 | /** |
||
23 | * @param NodeInterface $node |
||
24 | * @param \DOMElement $element |
||
25 | * @return mixed |
||
26 | */ |
||
27 | 2 | public function setProperty(NodeInterface $node, \DOMElement $element) |
|
37 | |||
38 | /** |
||
39 | * creates the accurate DomElement content according to the $item's property |
||
40 | * |
||
41 | * @param \DomDocument $document |
||
42 | * @param NodeInterface $node |
||
43 | * @return \DomElement|null |
||
44 | */ |
||
45 | public function createElement(\DomDocument $document, NodeInterface $node) |
||
53 | |||
54 | } |
||
55 |