Swagger\Context::getRootContext PHP Méthode

getRootContext() public méthode

public getRootContext ( ) : Context
Résultat Context
    public function getRootContext()
    {
        if ($this->_parent) {
            return $this->_parent->getRootContext();
        }
        return $this;
    }