', $value); }); Storage::extend('sftp', function ($app, $config) { return new Filesystem(new SftpAdapter($config)); }); } /** * Register any application services. * * This service provider is a great spot to register your various container * bindings with the application. As you can see, we are registering our * "Registrar" implementation here. You can add your own bindings too! * * @return void */ public function register() { // Laravel's HandleExceptions sets error_reporting(-1) which causes PECL mcrypt // deprecation notices to become ErrorExceptions. Override it here to suppress E_DEPRECATED. error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); $this->app->bind( 'Illuminate\Contracts\Auth\Registrar', 'App\Services\Registrar' ); } }