Tiny tweaks on codebase
This commit is contained in:
parent
eae0c07ff6
commit
28f80a2ef0
|
|
@ -13,6 +13,19 @@ use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
class AppServiceProvider extends ServiceProvider
|
class AppServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Register any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function register()
|
||||||
|
{
|
||||||
|
$this->app->singleton('cipher', 'App\Services\Cipher\\'.config('secure.cipher'));
|
||||||
|
$this->app->singleton('options', \App\Services\Option::class);
|
||||||
|
$this->app->singleton('parsedown', \Parsedown::class);
|
||||||
|
$this->app->singleton('webpack', \App\Services\Webpack::class);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bootstrap any application services.
|
* Bootstrap any application services.
|
||||||
*
|
*
|
||||||
|
|
@ -63,19 +76,6 @@ class AppServiceProvider extends ServiceProvider
|
||||||
// @codeCoverageIgnoreEnd
|
// @codeCoverageIgnoreEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Register any application services.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
$this->app->singleton('cipher', 'App\Services\Cipher\\'.config('secure.cipher'));
|
|
||||||
$this->app->singleton('options', \App\Services\Option::class);
|
|
||||||
$this->app->singleton('parsedown', \Parsedown::class);
|
|
||||||
$this->app->singleton('webpack', \App\Services\Webpack::class);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configure the \Illuminate\Routing\UrlGenerator.
|
* Configure the \Illuminate\Routing\UrlGenerator.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,16 @@ use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
class PluginServiceProvider extends ServiceProvider
|
class PluginServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Register any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function register()
|
||||||
|
{
|
||||||
|
$this->app->singleton('plugins', PluginManager::class);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bootstrap any application services.
|
* Bootstrap any application services.
|
||||||
*
|
*
|
||||||
|
|
@ -83,16 +93,6 @@ class PluginServiceProvider extends ServiceProvider
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Register any application services.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
$this->app->singleton('plugins', PluginManager::class);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register class autoloader for plugins.
|
* Register class autoloader for plugins.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -54,14 +54,4 @@ class ResponseMacroServiceProvider extends ServiceProvider
|
||||||
], $header));
|
], $header));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Register any application services.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,14 +40,4 @@ class RuntimeCheckServiceProvider extends ServiceProvider
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Register any application services.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,9 +46,4 @@ class ValidatorExtendServiceProvider extends ServiceProvider
|
||||||
return preg_match($regexp, $value);
|
return preg_match($regexp, $value);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public function register()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user