src/Rbac/PhpManager.php
public function getAssignments($userId)
    {
        return isset($this->assignments[$userId])
            ? resolve($this->assignments[$userId])
            : reject(new Error("No assignments for '$userId'"));
    }
public function getAssignments($userId)
    {
        return isset($this->assignments[$userId])
            ? resolve($this->assignments[$userId])
            : reject(new Error("No assignments for '$userId'"));
    }
{@inheritdoc}