Netson\L4gettext\Commands\CompileCommand::getOptions PHP Method

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array
    protected function getOptions()
    {
        /**
         * set defaults
         */
        $defaults = array('input_folder' => Config::get("l4gettext::config.compiler.input_folder"), 'output_folder' => Config::get("l4gettext::config.compiler.output_folder"), 'levels' => Config::get("l4gettext::config.compiler.levels"));
        /**
         * return the options array
         */
        return array(array('input_folder', 'i', InputOption::VALUE_REQUIRED, 'The input folder to scan for blade template files, relative to the app/ folder', $defaults['input_folder']), array('output_folder', 'o', InputOption::VALUE_REQUIRED, 'The output folder to place the compiled templates, relative to the app/storage folder', $defaults['output_folder']), array('levels', 'l', InputOption::VALUE_REQUIRED, 'The number of subdirectories to scan for blade templates', $defaults['levels']));
    }