Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| AppView | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| initialize | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | |
| 4 | namespace DefaultTheme\View; |
| 5 | |
| 6 | use Cake\View\View; |
| 7 | |
| 8 | /** |
| 9 | * Application View |
| 10 | * |
| 11 | * Your application's default view class |
| 12 | * |
| 13 | * @link https://book.cakephp.org/5/en/views.html#the-app-view |
| 14 | */ |
| 15 | class AppView extends View |
| 16 | { |
| 17 | /** |
| 18 | * Initialization hook method. |
| 19 | * |
| 20 | * Use this method to add common initialization code like loading helpers. |
| 21 | * |
| 22 | * @return void |
| 23 | */ |
| 24 | public function initialize(): void |
| 25 | { |
| 26 | parent::initialize(); |
| 27 | |
| 28 | // Load DefaultTheme helpers |
| 29 | $this->loadHelper('DefaultTheme.MetaTags'); |
| 30 | $this->loadHelper('DefaultTheme.Navigation'); |
| 31 | } |
| 32 | } |