Gets the array of non-default VarCloner configuration options.

@return array
490977
public function getClonerOptions()
    {
        if ($this->clonerOptions === null) {
            $this->clonerOptions = self::$defaultClonerOptions;
        }
        return $this->clonerOptions;
    }
309522
public function getDefaultValues()
    {
        preg_match('/([0-9.]+)([A-Z]{3})/', $this->config['price'], $matches);

        $this->defaults['price'] = array(
            'currency' => (!empty($this->defaults['price']['currency']) ? $this->defaults['price']['currency'] : $matches[2]),
            'amount' => (!empty($this->defaults['price']['amount']) ? $this->defaults['price']['amount'] : $matches[1]),
            'vat' => (!empty($this->defaults['price']['vat']) ? $this->defaults['price']['vat'] : null),
        );

        return $this->defaults;
    }
459024
public function get_config() {
        list($componentname, $varname) = $this->get_config_var_name();

        $config = [];
        $settingnames = self::get_settingnames();
        foreach ($settingnames as $name) {
            $config[$varname . $name] = get_config($componentname, $varname . $name);
        }

        // Search areas are enabled by default.
        if ($config[$varname . '_enabled'] === false) {
            $config[$varname . '_enabled'] = 1;
        }
        return $config;
    }
572400
protected function _getDefaults() : array
    {
        $result = [
            static::FIELD_TYPE => static::DEFAULT_FIELD_TYPE,
            static::FIELD_REQUIRED => static::DEFAULT_FIELD_REQUIRED,
            static::FIELD_NON_SEARCHABLE => static::DEFAULT_FIELD_NON_SEARCHABLE,
            static::FIELD_UNIQUE => static::DEFAULT_FIELD_UNIQUE,
        ];

        return $result;
    }
1133946
public function getOptionDefaults()
    {
        $values = array();
        foreach ($this->options as $option) {
            $values[$option->getName()] = $option->getDefault();
        }

        return $values;
    }
445068
private function getDefaultProviders()
    {
        $defaultProviders = array();

        foreach ($this->defaultProviders as $provider) {
            $defaultProviders[$provider] = $this->getProvider($provider);
        }

        return $defaultProviders;
    }
1058576
protected function getOptions()
	{
		return [
			'key' => $this->getKey(),
			'version' => $this->version,
			'region' => $this->getRegion(),
			'language' => $this->getLanguage(),
			'async' => $this->getAsync(),
			'marker' => $this->getMarker(),
			'center' => $this->getCenter(),
			'locate' => $this->getLocate(),
			'zoom' => $this->getZoom(),
			'scrollWheelZoom' => $this->getScrollWheelZoom(),
			'fullscreenControl' => $this->getFullscreenControl(),
			'zoomControl' => $this->getZoomControl(),
			'scaleControl' => $this->getScaleControl(),
			'streetViewControl' => $this->getStreetViewControl(),
			'rotateControl' => $this->getRotateControl(),
			'mapTypeControl' => $this->getMapTypeControl(),
			'type' => $this->getType(),
			'heading' => $this->getHeading(),
			'tilt' => $this->getTilt(),
			'ui' => $this->getUi(),
			'overlay' => '',
			'markers' => [
				'title' => '',
				'label' => '',
				'content' => '',
				'icon' => $this->getIcon(),
				'place' => '',
				'animation' => $this->getAnimation(),
				'symbol' => '',
			],
			'cluster' => $this->getCluster(),
			'clusters' => [
				'icon' => $this->getClustersIcon(),
				'grid' => $this->getClustersGrid(),
				'zoom' => $this->getClustersZoom(),
				'center' => $this->getClustersCenter(),
				'size' => $this->getClustersSize()
			],
		];
	}
1291632
protected function getServerInitConfig()
    {
        return [
            'host'      => isset($this->config['host']) ? $this->config['host'] : '0.0.0.0',
            'port'      => isset($this->config['port']) ? $this->config['port'] : 8080,
            'sockType'  => isset($this->config['sockType']) ? (SWOOLE_SOCK_UDP | $this->config['sockType']) : SWOOLE_SOCK_UDP,
            'mode'      => isset($this->config['mode']) ? $this->config['mode'] : SWOOLE_PROCESS,
        ];
    }
757332
public function getSpecialVariables()
    {
        $vars = [
            '_' => $this->returnValue,
        ];

        if (isset($this->lastException)) {
            $vars['_e'] = $this->lastException;
        }

        if (isset($this->lastStdout)) {
            $vars['__out'] = $this->lastStdout;
        }

        if (isset($this->boundObject)) {
            $vars['this'] = $this->boundObject;
        }

        return \array_merge($vars, $this->commandScopeVariables);
    }
460145
public function getConfig()
    {
        return [
            'filters' => [
                'aliases'   => [
                    'carriagereturntohtml' => CarriageReturnToHtml::class,
                    'carriageReturnToHtml' => CarriageReturnToHtml::class,
                    'CarriageReturnToHtml' => CarriageReturnToHtml::class,
                    'datetimetodateTime'   => DateTimeToDateTime::class,
                    'dateTimeToDateTime'   => DateTimeToDateTime::class,
                    'DateTimeToDateTime'   => DateTimeToDateTime::class,
                    'datetodatetime'       => DateToDateTime::class,
                    'dateToDateTime'       => DateToDateTime::class,
                    'DateToDateTime'       => DateToDateTime::class,
                    'slugify'              => Slugify::class,
                    'Slugify'              => Slugify::class,
                    'stripcarriagereturn'  => StripCarriageReturn::class,
                    'stripCarriageReturn'  => StripCarriageReturn::class,
                    'StripCarriageReturn'  => StripCarriageReturn::class,
                    'timetodatetime'       => TimeToDateTime::class,
                    'timeToDateTime'       => TimeToDateTime::class,
                    'TimeToDateTime'       => TimeToDateTime::class,
                    'filerenameupload'     => File\RenameUpload::class,
                    'fileRenameUpload'     => File\RenameUpload::class,
                    'FileRenameUpload'     => File\RenameUpload::class,
                    'wordtitlecase'        => Word\TitleCase::class,
                    'wordTitleCase'        => Word\TitleCase::class,
                    'WordTitleCase'        => Word\TitleCase::class
                ],
                'factories' => [
                    CarriageReturnToHtml::class => InvokableFactory::class,
                    DateTimeToDateTime::class   => InvokableFactory::class,
                    DateToDateTime::class       => InvokableFactory::class,
                    Slugify::class              => InvokableFactory::class,
                    StripCarriageReturn::class  => InvokableFactory::class,
                    TimeToDateTime::class       => InvokableFactory::class,
                    File\RenameUpload::class    => InvokableFactory::class,
                    Word\TitleCase::class       => InvokableFactory::class
                ]
            ]
        ];
    }
1142199
public static function availableDefaultValues()
    {
        return [
            self::DEFAULT_NULL,
            self::DEFAULT_OUT_OF_BOUNDS,
            self::DEFAULT_NOT_DERIVABLE,
            self::DEFAULT_NOT_GIVEN,
            self::DEFAULT_NOT_ASKED,
            self::DEFAULT_NOT_PERMITTED,
        ];
    }
118649
public function getCurlOptions()
    {
        $mandatoryOptions = array(
            CURLOPT_POST => true,
            CURLOPT_HEADER => true
        );

        $defaultOptions = array(
            CURLOPT_VERBOSE => false,
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_SSL_VERIFYPEER => false
        );

        /* @noinspection AdditionOperationOnArraysInspection */
        $mergedArray = $mandatoryOptions + $this->curlOptions + $defaultOptions;

        if (strlen($this->proxyHost) > 0) {
            $proxyPort = self::DEFAULT_PROXY_PORT;
            if (strlen($this->proxyPort) > 0) {
                $proxyPort = $this->proxyPort;
            }

            $mergedArray[CURLOPT_PROXYTYPE] = $this->proxyType;
            $mergedArray[CURLOPT_PROXY] = $this->proxyHost;
            $mergedArray[CURLOPT_PROXYPORT] = $proxyPort;
        }

        return $mergedArray;
    }
101095
public function getDefaultValue()
    {
        if ($this->isArray() || $this->isList()) {
            return [];
        }
        return Utils::getValueWithinItsType($this->getMetaValueFirstSet([
            'default',
            'Default',
            'DefaultValue',
            'defaultValue',
            'defaultvalue',
        ]), $this->getType(true));
    }
59000
protected function defaults()
    {
        return [
            'options'       => ['placeholder' => 'Search for a repo ...'],
            'pluginOptions' => [
                'allowClear'              => true,
                'minimumInputLength'      => 0,
                'minimumResultsForSearch' => 'Infinity',
                'ajax'                    => [
                    'dataType'       => 'json',
                    'delay'          => 250,
                    'data'           => new JavaScriptExpression($this->ajaxData()),
                    'processResults' => new JavaScriptExpression($this->processResults()),
                    'cache'          => true
                ],
                'escapeMarkup'            => new JavaScriptExpression($this->escapeMarkup()),
                'templateResult'          => new JavaScriptExpression($this->templateResult()),
                'templateSelection'       => new JavaScriptExpression($this->templateSelection()),
            ],
        ];
    }
634967
protected function getDefaultParameters(): array
	{
		$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
		$last = end($trace);
		$debugMode = static::detectDebugMode();

		return [
			'appDir' => isset($trace[2]['file']) ? dirname($trace[2]['file']) : null,
			'wwwDir' => isset($last['file']) ? dirname($last['file']) : null,
			'debugMode' => $debugMode,
			'productionMode' => !$debugMode,
			'consoleMode' => PHP_SAPI === 'cli',
		];
	}
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).'),
        ];
    }
1162916
private static function getOptions()
    {
        return [
            'left'       => Craft::t('position-fieldtype', 'Left'),
            'center'     => Craft::t('position-fieldtype', 'Center'),
            'right'      => Craft::t('position-fieldtype', 'Right'),
            'full'       => Craft::t('position-fieldtype', 'Full'),
            'drop-left'  => Craft::t('position-fieldtype', 'Drop-left'),
            'drop-right' => Craft::t('position-fieldtype', 'Drop-right'),
        ];
    }