/** * Handle missing data notification * * @param CollectionInterface $collection * @param ResourceMetaDataInterface $resource */ protected function handleMissingData(ResourceMetaDataInterface $resource, CollectionInterface $collection) { $message = sprintf('Could not publish resource %s with SHA1 hash %s of collection %s because there seems to be no corresponding data in the storage.', $resource->getFilename(), $resource->getSha1(), $collection->getName()); $this->messageCollector->append($message); }