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->singleton(
'logical',
function ($app) {
$app
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return (new LogicalFactory)->build();
);
* Get the services provided by the provider.
* @return string[]
public function provides()
return ['logical'];
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.