src/classes/Utilities/Session.php
public static function allExcept(array $keys)
    {
        $sessions = static::all();

        if (!empty($keys))
        {
            foreach ($keys as $key) {
                unset($sessions[$key]);
            }
        }

        return $sessions;
    }
public static function allExcept(array $keys)
    {
        $sessions = static::all();

        if (!empty($keys))
        {
            foreach ($keys as $key) {
                unset($sessions[$key]);
            }
        }

        return $sessions;
    }
public static function allExcept ( array $ keys ) { $ sessions = static :: all ( ) ; if ( ! empty ( $ keys ) ) { foreach ( $ keys as $ key ) { unset ( $ sessions [ $ key ] ) ; } } return $ sessions ; }
Return all data except the provided keys.

@param  array  $keys
@return array
Return all data except the provided keys .