Nathanmac\Utilities\Parser\Parser::get PHP Метод

get() публичный Метод

Retrieve an payload item from the payload data, return default item if item not found.
public get ( string $key = null, string $default = null ) : mixed | null
$key string
$default string
Результат mixed | null
    public function get($key = null, $default = null)
    {
        if ($this->has($key)) {
            return $this->getValueAtKey($key, $this->payload());
        }
        return $default;
    }