private function logMissingFile($id) { if (!isset($this->logger)) { return; } $this->logger->info("BinaryFile with id {$id} not found"); }