/** * Execute the console command. * * @return mixed */ public function handle(Classes $classes) { $classes->create_class(['name' => 'test', 'shortname' => 'test_shortname']); $this->info('Class created'); }