for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Archivr\StorageDriver;
use Archivr\Exception\Exception;
class DummyStorageDriver implements StorageDriverInterface
{
public function read(string $relativePath): string
throw new Exception(sprintf('Trying to call %s() on %s.', __FUNCTION__, __CLASS__));
}
public function write(string $relativePath, string $content)
public function writeStream(string $relativePath, $stream)
public function exists(string $relativePath): bool
public function unlink(string $relativePath)
public function getReadStream(string $relativePath)