Imbo\Auth\AccessControl\Adapter\AdapterInterface::hasAccess PHP Метод

hasAccess() публичный Метод

Check if a given public key has access to a given resource
public hasAccess ( string $publicKey, string $resource, string $user = null ) : boolean
$publicKey string Public key to check access for
$resource string Resource identifier (e.g. image.get, images.post)
$user string Optional user which the resource belongs to
Результат boolean True if public key has access, false otherwise
    function hasAccess($publicKey, $resource, $user = null);