Completed
Push — master ( 696b96...bf8c2d )
by Fèvre
11s
created

AppView   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 22
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 11 1
1
<?php
2
namespace App\View;
3
4
use Cake\View\View;
5
6
class AppView extends View
7
{
8
9
    /**
10
     * Initialization hook method.
11
     *
12
     * Use this method to add common initialization code like loading helpers.
13
     *
14
     * @return void
15
     */
16
    public function initialize()
17
    {
18
        parent::initialize();
19
        $this->loadHelper('Form', [
20
            'templates' => 'form-templates'
21
        ]);
22
        $this->loadHelper('Paginator', [
23
            'templates' => 'paginator-templates'
24
        ]);
25
        $this->loadHelper('Acl');
26
    }
27
}
28