| 1 | <?php |
||
| 15 | abstract class Entities extends Variable { |
||
| 16 | 88 | public function __construct($name= null) { |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Get an id for the type of entity. |
||
| 25 | * |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | abstract public function id(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the name of the entity. |
||
| 32 | * |
||
| 33 | * TODO: Check, if that is really necessary. |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | abstract public function entity_name(); |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdocs |
||
| 41 | */ |
||
| 42 | 124 | public function meaning() { |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritdocs |
||
| 48 | */ |
||
| 49 | 39 | public function compile($negate = false) { |
|
| 63 | } |
||
| 64 | |||
| 65 |