/** * Returns the allowed ids which match the given action and resource type * * @param string|array $action * @param string|\BeatSwitch\Lock\Resources\Resource $resourceType * @return array */ public function allowed($action, $resourceType) { $this->assertLockInstanceIsSet(); return $this->lock->allowed($action, $resourceType); }