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