Contao\BackendSwitch::__construct PHP Метод

__construct() публичный Метод

1. Import the user 2. Call the parent constructor 3. Authenticate the user 4. Load the language files DO NOT CHANGE THIS ORDER!
public __construct ( )
    public function __construct()
    {
        $this->import('BackendUser', 'User');
        parent::__construct();
        $this->User->authenticate();
        \System::loadLanguageFile('default');
    }