for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace iMokhles\IMGenerateCrudCommand;
use Illuminate\Support\ServiceProvider;
use iMokhles\IMGenerateCrudCommand\Command\IMGenerateCrudCommand;
class IMGenerateCrudCommandServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
//
}
* Register the application services.
public function register()
$this->registerInstallCommand();
* Register the make:multi-auth command.
private function registerInstallCommand()
$this->app->singleton('command.imokhles.make.im_crud', 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 IMGenerateCrudCommand();
});
$this->commands([
'IMGenerateCrudCommand' => 'command.imokhles.make.im_crud',
]);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.