for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Schubu\Cronify\Console\Commands;
use Illuminate\Console\Command;
class CronifyCommands extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'cronify:install';
* The console command description.
protected $description = 'Install the Cronify package';
* 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 int
public function handle()
$this->info('Publishing migration...');
$this->call('vendor:publish', [
'--provider' => "Schubu\Cronify\CronifyServiceProvider",
'--tag' => "migrations"
]);
$this->info('Published migration!');
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.