@@ -64,11 +64,17 @@ |
||
| 64 | 64 | $this->typeRegistry = $typeRegistry; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | + /** |
|
| 68 | + * @param string $name |
|
| 69 | + */ |
|
| 67 | 70 | public function define($name, $value = 1) |
| 68 | 71 | { |
| 69 | 72 | $this->defines[$name] = $value; |
| 70 | 73 | } |
| 71 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $name |
|
| 77 | + */ |
|
| 72 | 78 | public function undefine($name) |
| 73 | 79 | { |
| 74 | 80 | unset($this->defines[$name]); |