This storage driver stores image files in a local filesystem.
Configuration options supported by this driver:
-
(string) dataDirAbsolute path to the base directory the images should be stored in
/** * @covers Imbo\Storage\Filesystem::getStatus */ public function testGetStatusWhenBaseDirIsWritable() { vfsStream::setup('dir'); $driver = new Filesystem(['dataDir' => vfsStream::url('dir')]); $this->assertTrue($driver->getStatus()); }