Get the console command options.

@return array
960874
protected function getOptions()
    {
        $baseOptions = [
            ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'],
        ];

        return array_merge($baseOptions, isset($this->options) ? $this->options : []);
    }
186717
private function getOptions()
    {
        if(null === $this->options) {
            $this->options = $this->serviceLocator->get('csnuser_module_options');
        }
    
        return $this->options;
    }
762055
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],

            ['ini', null, InputOption::VALUE_NONE, 'Whether to load custom php.ini'],

            ['ini-path', null, InputOption::VALUE_OPTIONAL, 'Path to custom php.ini file', $this->defaultIniPath],
        ];
    }
889707
protected function buildOptions(): array
    {
        if (is_string($this->options)) {
            $this->loadRemoteOptions($this->options);
        }

        if ($this->options instanceof \Closure) {
            $this->options = $this->options->call($this->filter, $this->filter->getValue());
        }

        if ($this->options instanceof Arrayable) {
            $this->options = $this->options->toArray();
        }

        if (empty($this->script)) {
            $placeholder = trans('admin.choose');

            $this->script = <<<SCRIPT
$(".{$this->getElementClass()}").select2({
  placeholder: "$placeholder"
});

SCRIPT;
        }

        Admin::script($this->script);

        return is_array($this->options) ? $this->options : [];
    }
877018
public static function getOptions()
    {
        return [
            new InputOption('grep',        'G', InputOption::VALUE_REQUIRED, 'Limit to items matching the given pattern (string or regex).'),
            new InputOption('insensitive', 'i', InputOption::VALUE_NONE,     'Case-insensitive search (requires --grep).'),
            new InputOption('invert',      'v', InputOption::VALUE_NONE,     'Inverted search (requires --grep).'),
        ];
    }
541622
protected function getOptions()
    {
        //shameless copy
        return [
            ['connection', 'c', InputOption::VALUE_OPTIONAL, 'The database connection to use.', $this->config->get('database.default')],
            ['tables', 't', InputOption::VALUE_OPTIONAL, 'A list of Tables you wish to Generate Migrations for separated by a comma: users,posts,comments'],
            ['path', 'p', InputOption::VALUE_OPTIONAL, 'Where should the file be created?'],
            ['namespace', 'ns', InputOption::VALUE_OPTIONAL, 'Explicitly set the namespace'],
            ['overwrite', 'o', InputOption::VALUE_NONE, 'Overwrite existing models ?'],
        ];
    }
460901
public function get_options() {
		$options = array(
			'methods'  => $this->method,
			'callback' => $this->callback,
		);

		if ( $this->guard ) {
			$options['permission_callback'] = array( $this->guard, 'authorized' );
		}

		if ( $this->filter ) {
			$options['args'] = $this->filter->rules();
		}

		return $options;
	}
463167
protected function getMapsOptions()
    {
        return [
            'dragndrop'     => Translate::t('map.options.dragndrop', [], 'mapfield'),
            'streetview'    => Translate::t('map.options.streetview', [], 'mapfield'),
            'zoomcontrol'   => Translate::t('map.options.zoomcontrol', [], 'mapfield'),

            'mapcontrol'    => Translate::t('map.options.mapcontrol', [], 'mapfield'),
            'scalecontrol'  => Translate::t('map.options.scalecontrol', [], 'mapfield'),
            'pancontrol'    => Translate::t('map.options.pancontrol', [], 'mapfield'),

            'rotatecontrol'         => Translate::t('map.options.rotatecontrol', [], 'mapfield'),
            'rotatecontroloptions'  => Translate::t('map.options.rotatecontroloptions', [], 'mapfield'),
            'scrollwheel'           => Translate::t('map.options.scrollwheel', [], 'mapfield'),

            'overviewmapcontrol'        => Translate::t('map.options.overviewmapcontrol', [], 'mapfield'),
            'overviewmapcontroloptions' => Translate::t('map.options.overviewmapcontroloptions', [], 'mapfield'),
        ];
    }
814498
public function getOptions()
    {
        if ($this->options) {
            return $this->options;
        }

        return $this->options = (new \FloatingPoint\Stylist\Theme\Json($this->theme->getPath()))->getJsonAttribute('options');
    }
969670
protected function getBaseOptions()
    {
        $options = [
            'base_uri' => method_exists($this, 'getBaseUri') ? $this->getBaseUri() : '',
            'timeout' => method_exists($this, 'getTimeout') ? $this->getTimeout() : 5.0,
        ];
        return $options;
    }
154688
private function getRequestOptions()
    {
        $options = $this->getGuzzleClient()
            ->getConfig()
            ->get(Client::REQUEST_OPTIONS);

        if (!is_array($options)) {
            $options = array();
        }

        return $options;
    }
1352830
public function getOptions()
    {
        $options = parent::getOptions();

        foreach ($options as $option) {
            $option->Name = "{$this->name}[]";
        }

        return $options;
    }
1312564
protected function getOptions()
    {
        $format = $this->config->get('ide-helper.format');
        $writeMixins = $this->config->get('ide-helper.write_eloquent_model_mixins');

        return array(
            array('format', "F", InputOption::VALUE_OPTIONAL, 'The format for the IDE Helper', $format),
            array('write_mixins', "W", InputOption::VALUE_OPTIONAL, 'Write mixins to Laravel Model?', $writeMixins),
            array('helpers', "H", InputOption::VALUE_NONE, 'Include the helper files'),
            array('memory', "M", InputOption::VALUE_NONE, 'Use sqlite memory driver'),
            array('sublime', "S", InputOption::VALUE_NONE, 'DEPRECATED: Use different style for SublimeText CodeIntel'),
        );
    }
794761
protected function getOptions()
    {
        return [
            ['url', null, InputOption::VALUE_OPTIONAL, 'URL to send.', null],
            ['urltitle', null, InputOption::VALUE_OPTIONAL, 'URL Title to send.', null],
            ['sound', null, InputOption::VALUE_OPTIONAL, 'Set notification Sound.', null],
            ['device', null, InputOption::VALUE_OPTIONAL, 'Set a Device.', null],
            ['priority', null, InputOption::VALUE_OPTIONAL, 'Set a Priority Message.', null],
            ['retry', null, InputOption::VALUE_OPTIONAL, 'Set a Retry for the Priority.', null],
            ['expire', null, InputOption::VALUE_OPTIONAL, 'Set an expire for the Priority.', null],
            ['html', null, InputOption::VALUE_OPTIONAL, 'Sets if message should be sent as HTML.', null],
            ['debug', null, InputOption::VALUE_NONE, 'Turn the Debug Mode.', null],
        ];
    }
523642
public function getCommandline(): array
    {
        $args = $this->getArguments();
        if ($this->executable !== null && $this->executable !== '') {
            array_unshift($args, $this->executable);
        }

        return $args;
    }
267436
protected function getOptions() : array
    {
        $options = [];

        foreach ($this->elements as $element) {
            if ($element instanceof Option) {
                $options[] = $element;
            }
            elseif ($element instanceof OptionGroup) {
                $options = array_merge($options, $element->getOptions());
            }
        }

        return $options;
    }
1132313
protected function getOptions()
	{
		$options = array();

		foreach ($this->element->children() as $option)
		{
			// Only add <option /> elements.
			if ($option->getName() != 'option')
			{
				continue;
			}

			// Create a new option object based on the <option /> element.
			$tmp = HtmlSelect::option(
				(string) $option['value'],
				Text::alt(trim((string) $option), preg_replace('/[^a-zA-Z0-9_\-]/', '_', $this->fieldname)), 'value', 'text',
				((string) $option['disabled'] == 'true')
			);

			// Set some option attributes.
			$tmp->class = (string) $option['class'];

			// Set some JavaScript option attributes.
			$tmp->onclick = (string) $option['onclick'];

			// Add the option object to the result set.
			$options[] = $tmp;
		}

		reset($options);

		return $options;
	}