for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\Welcome\UI\CLI\Commands;
use App\Ship\Parents\Commands\ConsoleCommand;
/**
* Class SayWelcome
*
* @author Mahmoud Zalt <[email protected]>
*/
class SayWelcome extends ConsoleCommand
{
* The name and signature of the console command.
* @var string
protected $signature = 'say:welcome';
* The console command description.
protected $description = 'Just Saying Welcome.';
* 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();
}
* Execute the console command.
* @return mixed
public function handle()
echo "Welcome to Hello API :)\n";
Adding a
@returnannotation 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.