Slim\Views\PhpRenderer::getAttribute PHP 메소드

getAttribute() 공개 메소드

Retrieve an attribute
public getAttribute ( $key ) : mixed
$key
리턴 mixed
    public function getAttribute($key)
    {
        if (!isset($this->attributes[$key])) {
            return false;
        }
        return $this->attributes[$key];
    }