protected function isIdleTimeOut(): bool
    {
        $idleTime = time() - $this->getLastTime();
        $maxIdleTime = $this->getPool()->getPoolConfig()->getMaxIdleTime();
        return $idleTime > $maxIdleTime;
    }
protected function isIdleTimeOut(): bool
    {
        $idleTime = time() - $this->getLastTime();
        $maxIdleTime = $this->getPool()->getPoolConfig()->getMaxIdleTime();
        return $idleTime > $maxIdleTime;
    }
protected function isIdleTimeOut ( ) : bool { $ idleTime = time ( ) - $ this -> getLastTime ( ) ; $ maxIdleTime = $ this -> getPool ( ) -> getPoolConfig ( ) -> getMaxIdleTime ( ) ; return $ idleTime > $ maxIdleTime ; }
Verify whether the idle time exceeds the maximum value.
Verify whether the idle time exceeds the maximum value .