for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Tinyissue package.
*
* (c) Mohamed Alsharaf <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tinyissue\Providers;
use Illuminate\Support\ServiceProvider;
use Tinyissue\Services;
/**
* AppServiceProvider is the application service provider for bootstrapping and registering global services.
* @author Mohamed Alsharaf <[email protected]>
class AppServiceProvider extends ServiceProvider
{
* Bootstrap any application services.
public function boot()
}
* 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!
public function register()
$this->app->bind(
'Illuminate\Contracts\Auth\Registrar', 'Tinyissue\Services\Registrar'
);
$this->app['artisan.tinyissue.install'] = $this->app->share(function () {
return new \Tinyissue\Console\Commands\Install();
});
$this->commands('artisan.tinyissue.install');
$this->app['tinyissue.settings'] = $this->app->share(function () {
return new Services\SettingsManager();