| 1 | <?php |
||
| 36 | class Config extends ConfigCollection |
||
| 37 | { |
||
| 38 | protected $configs = []; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * __construct |
||
| 42 | * |
||
| 43 | * @param mixed $templates DESCRIPTION |
||
| 44 | * @param array $helpers DESCRIPTION |
||
| 45 | * |
||
| 46 | * @return mixed |
||
|
|
|||
| 47 | * |
||
| 48 | * @access public |
||
| 49 | */ |
||
| 50 | public function __construct($templates = null, array $helpers = []) |
||
| 65 | 9 | ||
| 66 | 9 | /** |
|
| 67 | 9 | * View |
|
| 68 | * |
||
| 69 | 9 | * @return mixed |
|
| 70 | 9 | * |
|
| 71 | 9 | * @access public |
|
| 72 | 9 | */ |
|
| 73 | public function view() |
||
| 77 | 9 | ||
| 78 | 9 | /** |
|
| 79 | 9 | * Helper |
|
| 80 | 9 | * |
|
| 81 | * @return mixed |
||
| 82 | 9 | * @throws exceptionclass [description] |
|
| 83 | 9 | * |
|
| 84 | 9 | * @access public |
|
| 85 | 9 | */ |
|
| 86 | public function helper() |
||
| 90 | } |
||
| 91 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.