Asvae\ApiTester\Storages\JsonStorage::__construct PHP Method

__construct() public method

Storage constructor.
public __construct ( Illuminate\Filesystem\Filesystem $files, RequestCollection $collection, $path )
$files Illuminate\Filesystem\Filesystem
$collection Asvae\ApiTester\Collections\RequestCollection
$path
    public function __construct(Filesystem $files, RequestCollection $collection, $path)
    {
        $this->files = $files;
        $this->collection = $collection;
        $path = explode('/', $path);
        $this->filename = array_pop($path);
        $this->path = implode($path, '/');
    }