for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Auth\Providers;
use Arcanedev\Support\Providers\CommandServiceProvider as ServiceProvider;
/**
* Class CommandServiceProvider
*
* @package Arcanesoft\Auth\Providers
* @author ARCANEDEV <[email protected]>
*/
class CommandServiceProvider extends ServiceProvider
{
/* ------------------------------------------------------------------------------------------------
| Main Functions
| ------------------------------------------------------------------------------------------------
* Register the service provider.
public function register()
$this->registerPublishCommand();
$this->commands($this->commands);
}
* Get the provided commands.
* @return array
public function provides()
return [
'arcanesoft.auth.commands.publish',
];
| Command Functions
* Register the publish command.
private function registerPublishCommand()
$this->app->singleton(
\Arcanesoft\Auth\Console\PublishCommand::class
);
$this->commands[] = \Arcanesoft\Auth\Console\PublishCommand::class;