for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Cornford\Logical\Providers;
use Cornford\Logical\LogicalFactory;
use Illuminate\Support\ServiceProvider;
class LogicalServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = true;
* Bootstrap the application events.
* @return void
public function boot()
{
$this->package('cornford/logical');
}
* Register the service provider.
public function register()
$this->app['logical'] = $this->app->share(function()
return (new LogicalFactory)->build();
});
* Get the services provided by the provider.
* @return string[]
public function provides()
return ['logical'];