1 | <?php |
||
7 | abstract class MagicConst extends Scalar |
||
8 | { |
||
9 | /** |
||
10 | * Constructs a magic constant node. |
||
11 | * |
||
12 | * @param array $attributes Additional attributes |
||
13 | */ |
||
14 | public function __construct(array $attributes = array()) { |
||
17 | |||
18 | public function getSubNodeNames() { |
||
21 | |||
22 | /** |
||
23 | * Get name of magic constant. |
||
24 | * |
||
25 | * @return string Name of magic constant |
||
26 | */ |
||
27 | abstract public function getName(); |
||
28 | } |
||
29 |