1 | <?php |
||
12 | abstract class Definition implements IDefinition |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var string the actual definition |
||
17 | */ |
||
18 | protected $_definition; |
||
19 | |||
20 | /** |
||
21 | * Class constructor. It stores the definition string and validates it. |
||
22 | * @param string $definition the definition |
||
23 | * @throws \InvalidArgumentException if the definition is invalid |
||
24 | */ |
||
25 | public function __construct($definition) |
||
32 | |||
33 | } |
||
34 |