for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Pages\Console;
use Arcanedev\Support\Bases\Command;
/**
* Class SetupCommand
*
* @package Arcanesoft\Pages\Console
* @author ARCANEDEV <[email protected]>
*/
class SetupCommand extends Command
{
/* ------------------------------------------------------------------------------------------------
| Properties
| ------------------------------------------------------------------------------------------------
* The name and signature of the console command.
* @var string
protected $signature = 'pages:setup';
* The console command description.
protected $description = 'Setup the Pages module.';
| Main Functions
* Execute the console command.
public function handle()
$this->runSeeders();
}
| Other Functions
* Run the Auth database seeder.
private function runSeeders()
$this->call('db:seed', [
'--class' => \Arcanesoft\Pages\Seeds\DatabaseSeeder::class
]);