src/Session/SessionMiddleware.php
public function withCacheExpire(int $cache_expire): SessionMiddleware
    {
        return new SessionMiddleware(
            $this->save_handler,
            $this->name,
            $this->save_path,
            $this->cache_limiter,
            $cache_expire,
            $this->cookie_params
        );
    }
public function withCacheExpire(int $cache_expire): SessionMiddleware
    {
        return new SessionMiddleware(
            $this->save_handler,
            $this->name,
            $this->save_path,
            $this->cache_limiter,
            $cache_expire,
            $this->cookie_params
        );
    }
public function withCacheExpire ( int $ cache_expire ) : SessionMiddleware { return new SessionMiddleware ( $ this -> save_handler , $ this -> name , $ this -> save_path , $ this -> cache_limiter , $ cache_expire , $ this -> cookie_params ) ; }
Return a new session middleware using the given session cache expire.

@param int $cache_expire
@return \Ellipse\Session\SessionMiddleware
Return a new session middleware using the given session cache expire .