public function importResourceFromContent($content)
    {
        if (!$this->storage instanceof WritableStorageInterface) {
            throw new ResourceException(sprintf('Could not import resource into collection "%s" because its storage "%s" is a read-only storage.', $this->name, $this->storage->getName()), 1381155740);
        }
        return $this->storage->importResourceFromContent($content, $this->name);
    }