Configuration options supported by this driver:
-
(string) dataDirAbsolute path to the base directory the image variations should be stored in. Must be specified.
/** * @covers Imbo\EventListener\ImageVariations\Storage\Filesystem::deleteImageVariations */ public function testDoesNotThrowWhenDeletingNonExistantVariation() { $dir = 'basedir'; vfsStream::setup($dir); $adapter = new Filesystem(['dataDir' => vfsStream::url($dir)]); $this->assertFalse($adapter->deleteImageVariations('pub', 'img')); }