app\Models\Access\User\Traits\UserAccess::hasPermissions PHP Method

hasPermissions() public method

public hasPermissions ( $permissions, boolean $needsAll = false ) : boolean
$permissions
$needsAll boolean
return boolean
    public function hasPermissions($permissions, $needsAll = false)
    {
        return $this->allowMultiple($permissions, $needsAll);
    }