Potsky\LaravelLocalizationHelpers\Command\LocalizationMissing::getOptions PHP 메소드

getOptions() 보호된 메소드

Get the console command options.
protected getOptions ( ) : array
리턴 array
    protected function getOptions()
    {
        return array(array('dry-run', 'r', InputOption::VALUE_NONE, 'Dry run: run process but do not write anything'), array('editor', 'e', InputOption::VALUE_NONE, 'Open files which need to be edited at the end of the process'), array('force', 'f', InputOption::VALUE_NONE, 'Force files to be rewritten even if there is nothing to do'), array('translation', 't', InputOption::VALUE_NONE, 'Try to translate the lemma to the target language'), array('new-value', 'l', InputOption::VALUE_OPTIONAL, 'Value of new found lemmas (use %LEMMA for the lemma value or translation). Set it to null to provide translation fallbacks.', 'TODO: %LEMMA'), array('no-backup', 'b', InputOption::VALUE_NONE, 'Do not backup lang file (be careful, I am not a good coder)'), array('no-comment', 'c', InputOption::VALUE_NONE, 'Do not add comments in lang files for lemma definition'), array('no-date', 'd', InputOption::VALUE_NONE, 'Do not add the date of execution in the lang files'), array('no-obsolete', 'o', InputOption::VALUE_NONE, 'Do not write obsolete lemma (obsolete lemma will be removed)'), array('output-flat', 'w', InputOption::VALUE_NONE, 'Output arrays are flat (do not use sub-arrays and keep dots in lemma)'), array('silent', 's', InputOption::VALUE_NONE, 'Use this option to only return the exit code (use $? in shell to know whether there are missing lemma or nt)'), array('php-file-extension', 'x', InputOption::VALUE_OPTIONAL, 'PHP file extension', 'php'), array('disable-obsolete-check', 'z', InputOption::VALUE_NONE, 'Use this option to disable check for obsolete lemmas (obsolete lemma will be kept)'));
    }