option('runnable') ? __DIR__.'/stubs/runnable-solution.stub' : __DIR__.'/stubs/solution.stub'; } /** * Get the default namespace for the class. * * @param string $rootNamespace * @return string */ protected function getDefaultNamespace($rootNamespace) { return $rootNamespace.'\Solutions'; } /** * Get the console command options. * * @return array */ protected function getOptions() { return [ ['runnable', null, InputOption::VALUE_NONE, 'Create runnable solution'], ]; } }