Configuration options supported by this driver: -
(string) dataDir
Absolute path to the base directory the image variations should be stored in. Must be specified.
Author: Espen Hovlandsdal (espen@hovlandsdal.com)
Inheritance: implements Imbo\EventListener\ImageVariations\Storage\StorageInterface
Example #1
0
 /**
  * @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'));
 }