for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\Documentation\UI\CLI\Commands;
use App\Containers\Documentation\Actions\GenerateDocumentationAction;
use App\Ship\Parents\Commands\ConsoleCommand;
/**
* Class GenerateApiDocsCommand
*
* @author Mahmoud Zalt <[email protected]>
*/
class GenerateApiDocsCommand extends ConsoleCommand
{
* The name and signature of the console command.
* @var string
protected $signature = "apidoc:generate";
* The console command description.
protected $description = "Generate API Documentations (using API Doc JS)";
* Create a new command instance.
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct()
parent::__construct();
}
* @param \App\Containers\Documentation\Actions\GenerateDocumentationAction $action
public function handle(GenerateDocumentationAction $action)
$action->run($this);
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.