for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nwidart\Modules\Console\Traits;
use Nwidart\Modules\Console\Traits\ConsoleMessages;
trait CommandArguments
{
use ConsoleMessages;
/**
* Get console command arguments.
*
* @return array
*/
protected function getArguments()
return $this->setArguments();
}
* Set the command arguments
protected function setArguments(): array
return [];
* Set the command options
protected function setOptions(): array
* Get console command options.
protected function getOptions()
return $this->setOptions();