Pop\Auth\Acl::getResource PHP Method

getResource() public method

Method to get a resource
public getResource ( string $resource ) : Resource
$resource string
return Resource
    public function getResource($resource)
    {
        return isset($this->resources[$resource]) ? $this->resources[$resource] : null;
    }