Get a response by name

@param string $name

@return PheryResponse|null
432264
public static function get_response($name)
    {
        if (isset(self::$responses[$name]) && self::$responses[$name] instanceof PheryResponse) {
            return self::$responses[$name];
        }

        return null;
    }
4024
public function get($name)
    {
        if (empty($this->data[$name])) {
            return null;
        }

        return $this->data[$name];
    }
934560
public function get($name)
    {
        if (isset($this->_loaded[$name])) {
            return $this->_loaded[$name];
        }

        return null;
    }
1031382
public static function get( $name = null ) {
		if ( is_null( $name ) ) {
			return self::$data;
		}

		if ( isset( self::$data[ $name ] ) ) {
			return self::$data[ $name ];
		}

		return null;
	}
46159
public static function getTypeByName($name)
    {
        /** @noinspection PhpUndefinedMethodInspection */
        $typeRec = static::whereName($name)->get(['type'])->first();

        return (isset($typeRec, $typeRec['type'])) ? $typeRec['type'] : null;
    }
1216834
public function get($name)
    {
        if ($this->argument->defined($name)) {
            return $this->argument->get($name);
        }
        return null;
    }
124185
public function getHeader($name)
    {
        $key = strtolower($name);

        if (isset($this->responseHeader[$key])) {
            if (!isset($this->responseHeader[$key]['name']) &&
                 is_array($this->responseHeader[$key])) {
                $values = array();

                foreach ($this->responseHeader[$key] as $header) {
                    $values[] = $header['value'];
                }

                return $values;
            } else {
                return $this->responseHeader[$key]['value'];
            }
        }

        return;
    }
936678
protected function get(string $name)
    {
        $name[0] = strtolower($name[0]);

        return $this->list[$name] ?? null;
    }
631976
public function get($name)
    {
        return isset($this->modules[$name]) ? $this->modules[$name] : null;
    }
1061628
public static function fetchByName( $name )
    {
        $result = parent::fetchObject( self::definition(), null, array( 'name' => $name ) );
        return $result;
    }
1153071
public function get($name)
    {
        $name = strtoupper($name);
        if (isset($_SERVER[$name])) {
            return $_SERVER[$name];
        }
        return null;
    }
509126
public function get($name)
    {
        $cookie = $this->request->getCookieParams();

        return array_key_exists($name, $cookie) ? $cookie[$name] : null;
    }
279109
public function getParameter($name)
    {
        if (isset($this->_parameters[$name])) {
            return $this->_parameters[$name];
        }
        return null;
    }
1260507
public function getIndexByName($name)
    {
        return isset($this->indexes[$name]) ? $this->indexes[$name] : null;
    }
551515
public function get($name)
    {
        $cookie_name = $this->getName($name);
        if (isset($_COOKIE[$cookie_name])) {
            $cookie_value = $this->authcode($_COOKIE[$cookie_name], 'DECODE', $this->_securekey);
            $cookie_value = $this->unpack($cookie_value);
            return isset($cookie_value[0]) ? $cookie_value[0] : null;
        } else {
            return null;
        }
    }
170470
public function get(string $name)
    {
        if (!isset($this->_data[$name])) {
            return null;
        }

        return $this->_data[$name];
    }
1355273
public function get_merged($name)
    {
        if (isset($this->merged[$name])) {
            if (isset(self::$responses[$name])) {
                return self::$responses[$name];
            }
            $response = new PheryResponse;
            $response->data = $this->merged[$name];
            return $response;
        }
        return null;
    }