private function shouldBufferContent($fileInfo) { if ($fileInfo->size > $this->bufferedFileMaxSize) { return false; } if ($this->bufferedFileCount >= $this->bufferedFileMaxCount) { return false; } if ($this->cacheEntryCount >= $this->cacheEntryMaxCount) { return false; } return true; }