cache->get( $k ); if ( $count >= $limit ) { return false; } $this->cache->set( $k, $count + 1, $windowSeconds ); return true; } }