protected function registerEncrypterBindings() { $this->singleton('encrypter', function () { return $this->loadComponent('app', 'Illuminate\\Encryption\\EncryptionServiceProvider', 'encrypter'); }); }