コード例 #1
0
ファイル: FooCommand.php プロジェクト: RunSite/cms
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle(Classes $classes)
 {
     $classes->create_class(['name' => 'test', 'shortname' => 'test_shortname']);
     $this->info('Class created');
 }