1 | <?php |
||
30 | class AppController extends Controller |
||
31 | { |
||
32 | use LogTrait; |
||
33 | |||
34 | /** @var Migrations */ |
||
35 | protected $migrations; |
||
36 | |||
37 | public $helpers = [ |
||
38 | 'Breadcrumbs' => ['className' => 'BootstrapUI.Breadcrumbs'], |
||
39 | 'Flash' => ['className' => 'BootstrapUI.Flash'], |
||
40 | 'Form' => ['className' => 'BootstrapUI.Form'], |
||
41 | 'Html' => ['className' => 'BootstrapUI.Html'], |
||
42 | 'Paginator' => ['className' => 'BootstrapUI.Paginator'], |
||
43 | ]; |
||
44 | |||
45 | /** |
||
46 | * {@inheritDoc} |
||
47 | */ |
||
48 | public function initialize() |
||
61 | |||
62 | /** |
||
63 | * Initialize migration property |
||
64 | * |
||
65 | * @param Table $table a table to read the config from |
||
66 | * @return Migrations |
||
67 | */ |
||
68 | private function initializeMigrations(Table $table) |
||
81 | } |
||
82 |