| 1 | <?php |
||
| 9 | trait TConfigure |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Properties |
||
| 14 | * |
||
| 15 | */ |
||
| 16 | private $config = []; // Store all config as an array |
||
| 17 | |||
| 18 | |||
| 19 | /** |
||
| 20 | * Read configuration from file or array'. |
||
| 21 | * |
||
| 22 | * @param array/string $what is an array with key/value config options or a file |
||
|
|
|||
| 23 | * to be included which returns such an array. |
||
| 24 | * @return $this for chaining. |
||
| 25 | * @throws Exception |
||
| 26 | */ |
||
| 27 | 2 | public function configure($what) |
|
| 41 | } |
||
| 42 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.