public function get($name)
    {
        if (!isset($this->permissions[$name])) {
            throw new InvalidArgumentException("Permissions $name for type $objectType not found.");
        }

        return $this->permissions[$name];
    }