Efficiently\Larasset\Commands\ServerCommand::getOptions PHP Method

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array
    protected function getOptions()
    {
        return [['host', null, InputOption::VALUE_OPTIONAL, 'The host address to serve the application on.', "localhost"], ['port', null, InputOption::VALUE_OPTIONAL, 'The port to serve the application on.', 8000], ['larasset-host', null, InputOption::VALUE_OPTIONAL, 'The host address to serve the asset files on.', "localhost"], ['larasset-port', null, InputOption::VALUE_OPTIONAL, 'The port to serve the asset files on.', config('larasset.port', 3000)], ['larasset-env', null, InputOption::VALUE_OPTIONAL, 'Specifies the assets environment to run this server under (test/development/production).', 'development'], ['larasset-environment', null, InputOption::VALUE_OPTIONAL, "DEPRECATED: Use '--larasset-env' option instead."]];
    }