app\Models\Access\User\Traits\UserAccess::hasPermissions PHP 메소드

hasPermissions() 공개 메소드

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