init() публичный статический Метод

Set up initial classes
public static init ( array $gears = [] )
$gears array
Пример #1
0
<?php

declare (strict_types=1);
/**
 * Initialize the base types for our framework gears
 */
\Airship\Engine\Gears::init(['AirBrake' => '\\Airship\\Engine\\Security\\AirBrake', 'AutoPilot' => '\\Airship\\Engine\\AutoPilot', 'AutoUpdater' => '\\Airship\\Engine\\Continuum', 'Authentication' => '\\Airship\\Engine\\Security\\Authentication', 'Blueprint' => '\\Airship\\Engine\\Blueprint', 'Database' => '\\Airship\\Engine\\Database', 'CSRF' => '\\Airship\\Engine\\Security\\CSRF', 'Hail' => '\\Airship\\Engine\\Hail', 'Landing' => '\\Airship\\Engine\\Landing', 'Ledger' => '\\Airship\\Engine\\Ledger', 'Lens' => '\\Airship\\Engine\\Lens', 'Permissions' => '\\Airship\\Engine\\Security\\Permissions', 'Translation' => '\\Airship\\Engine\\Translation', 'TreeUpdater' => '\\Airship\\Engine\\Keyggdrasil']);