diff --git a/src/Driver/FileSystemObjectStoreDriver.php b/src/Driver/FileSystemObjectStoreDriver.php index eee22c7..0e9809a 100644 --- a/src/Driver/FileSystemObjectStoreDriver.php +++ b/src/Driver/FileSystemObjectStoreDriver.php @@ -73,7 +73,7 @@ public function has(string $objectId): bool * @throws FilesystemException * @throws PathOutOfBoundsException */ - public function put(string $objectId, $content, array $metadata = null) + public function put(string $objectId, $content, array $metadata = null, bool $validateGeneration = false) { $file = $this->rootDir->withSubPath($objectId)->asFile(); $dir = $file->getDirname()->asDirectory(); @@ -92,7 +92,7 @@ public function put(string $objectId, $content, array $metadata = null) * @param array|null $metadata * @return mixed|void */ - public function putStream(string $objectId, $resource, array $metadata = null) + public function putStream(string $objectId, $resource, array $metadata = null, bool $validateGeneration = false) { throw new InvalidArgumentException('Not implemented yet.'); // TODO: Implement putStream() method.