src/Rbac/PhpManager.php
public function getRule($name)
    {
        return isset($this->rules[$name]) ? resolve($this->rules[$name]) : reject(new Error("Rule '$name' not found"));
    }
public function getRule($name)
    {
        return isset($this->rules[$name]) ? resolve($this->rules[$name]) : reject(new Error("Rule '$name' not found"));
    }
{@inheritdoc}