src/Permissions/AbstractPermission.php
protected function setConditions($conditions = [])
    {
        if ($conditions instanceof Closure || is_array($conditions)) {
            $this->conditions = $conditions;
        } else {
            $this->conditions = [$conditions];
        }
    }
protected function setConditions($conditions = [])
    {
        if ($conditions instanceof Closure || is_array($conditions)) {
            $this->conditions = $conditions;
        } else {
            $this->conditions = [$conditions];
        }
    }
protected function setConditions ( $ conditions = [ ] ) { if ( $ conditions instanceof Closure || is_array ( $ conditions ) ) { $ this -> conditions = $ conditions ; } else { $ this -> conditions = [ $ conditions ] ; } }
Sets the conditions for this permission

@param \BeatSwitch\Lock\Permissions\Condition|\BeatSwitch\Lock\Permissions\Condition[]|\Closure $conditions
Sets the conditions for this permission