@param $name

@return array|mixed|null
978854
public function hasProvider($name)
    {
        if ($this->singletons->has($name)) {
            return $this->singletons->get($name);
        }
        if ($this->providers->has($name)) {
            return $this->providers->get($name);
        }
        $alias = basename(str_replace('\\', '/', $name));
        if ($this->singletons->has($alias)) {
            return $this->singletons->get($alias);
        }
        if ($this->providers->has($alias)) {
            return $this->providers->get($alias);
        }

        return null;
    }
739685
public function getServiceIdByName($name)
    {
        $map = array_flip($this->getServiceIdNameMap());
        if (array_key_exists($name, $map)) {
            return $map[$name];
        }

        return null;
    }
1153071
public function get($name)
    {
        $name = strtoupper($name);
        if (isset($_SERVER[$name])) {
            return $_SERVER[$name];
        }
        return null;
    }
421177
protected function _getField($name)
    {
        return array_key_exists($name, $this->_requestData) ? $this->_requestData[$name] : null;
    }
606347
public function getByName($name)
    {
        return isset($this->loggers[$name]) ? $this->loggers[$name] : null;
    }
1326705
public function getParam ($name)
		{
			if (isset( $this->_params[ $name ] ))
				return $this->_params[ $name ];
			else
				return null;
		}
99040
public function getAll($name = null)
    {
        if (!isset($name)) {
            $headers = [];
            foreach ($this->headers as $collection) {
                $headers = array_merge($headers, $collection);
            }

            return $headers;
        }

        $lowerName = strtolower($name);
        if (!array_key_exists($lowerName, $this->headers)) {
            return [];
        }

        return $this->headers[$lowerName];
    }
642657
public static function get($name)
    {
        if (isset(self::$_cached_settings[$name])) {
            return self::$_cached_settings[$name];
        }
        return NULL;
    }
316640
protected function get($name)
    {
        return isset($this->receivers[$name]) ? $this->receivers[$name] : null;
    }
552058
protected function getParams($name = null)
    {
        $queues = !is_null($name) ? [$name] : $this->getQueues();
        $params = [
            config('queue.default'),
        ];
        if (empty($queues)) {
            return $params;
        }
        $queue = implode(',', $queues);
        if ($this->isCli()) {
            array_push($params, '--queue ' . $queue);
        } else {
            $params['--queue'] = $queue;
        }

        unset($queues);


        return $params;
    }
500902
public function getData($name)
    {
        if (!array_key_exists($name, $this->datas)) {
            return null;
        }
        return $this->datas[$name];
    }
403130
public function getMapping($name) {
        if (isset($this->mappings['names'][$name]))
            return $this->mappings['names'][$name];
        return null;
    }
167144
public function getParameterValue($name)
    {
        return (isset($this->attributes[$name])) ? $this->attributes[$name] : null;
    }
1203564
protected function findOption($name)
    {
        foreach ($this->options as $option) {
            if ($option->hasAlias($name)) {
                return $option;
            }
        }

        return null;
    }
884228
public function get_param($name) {
        if (array_key_exists($name, $this->params)) {
            return $this->params[$name];
        } else {
            return null;
        }
    }
705781
protected function getParameter($name)
    {
        return array_key_exists($name, $this->templateVars)?$this->templateVars[$name]:null;
    }
1053378
public function &__get($name)
    {
        if(!isset($this->arguments[$name]))
            return null;
        
        return $this->arguments[$name];
    }