/** * Checks if the user has either one or more, or all of an array of roles * * @param $roles * @param bool $needsAll * @return bool * @static */ public static function hasRoles($roles, $needsAll = false) { return \App\Services\Access\Access::hasRoles($roles, $needsAll); }