AppserverIo\Appserver\ServletEngine\Http\Request::getAttribute PHP Метод

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

Returns the value with the passed name from the context.
public getAttribute ( string $key ) : mixed
$key string The key of the value to return from the context.
Результат mixed The requested attribute
    public function getAttribute($key)
    {
        if (isset($this->attributes[$key])) {
            return $this->attributes[$key];
        }
    }