1 | <?php |
||
7 | class ConstantWriter extends WriterAbstract |
||
8 | { |
||
9 | /** |
||
10 | * @param IReflectionConstant $constant |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | 4 | public function writeElement(IReflectionConstant $constant) |
|
18 | |||
19 | /** |
||
20 | * @param IReflectionConstant[] $constants |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | 11 | public function writeElements(array $constants) |
|
38 | } |
||
39 |
If you suppress an error, we recommend checking for the error condition explicitly: