src/LockAware.php
public function deny($action, $resource = null, $resourceId = null, $conditions = [])
    {
        $this->assertLockInstanceIsSet();

        $this->lock->deny($action, $resource, $resourceId, $conditions);
    }
public function deny($action, $resource = null, $resourceId = null, $conditions = [])
    {
        $this->assertLockInstanceIsSet();

        $this->lock->deny($action, $resource, $resourceId, $conditions);
    }
public function deny ( $ action , $ resource = null , $ resourceId = null , $ conditions = [ ] ) { $ this -> assertLockInstanceIsSet ( ) ; $ this -> lock -> deny ( $ action , $ resource , $ resourceId , $ conditions ) ; }
Deny a caller from doing something

@param string|array $action
@param string|\BeatSwitch\Lock\Resources\Resource $resource
@param int $resourceId
@param \BeatSwitch\Lock\Permissions\Condition|\BeatSwitch\Lock\Permissions\Condition[]|\Closure $conditions
Deny a caller from doing something