for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanedev\Support\Providers;
use Arcanedev\Support\ServiceProvider;
/**
* Class CommandServiceProvider
*
* @package Arcanedev\Support\Providers
* @author ARCANEDEV <[email protected]>
*/
abstract class CommandServiceProvider extends ServiceProvider
{
/* ------------------------------------------------------------------------------------------------
| Properties
| ------------------------------------------------------------------------------------------------
* The commands to be registered.
* @var array
protected $commands = [];
* Indicates if loading of the provider is deferred.
* @var bool
protected $defer = true;
| Main Functions
* Boot the service provider.
public function boot()
$this->commands($this->commands);
}
* Get the provided commands.
* @return array
public function provides()
return $this->commands;