1 | <?php |
||
17 | abstract class AbstractComponent implements ComponentInterface |
||
18 | { |
||
19 | /** |
||
20 | * Gets the directory where the component's configs can be found. |
||
21 | * This uses reflection so if you have a large number of components it would be advisable to extend this and use |
||
22 | * `__DIR__` to generate a return value. |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getConfigPath() : string |
||
31 | } |
||
32 |