Cache\Adapter\Filesystem\FilesystemCachePool::__construct PHP Метод

__construct() публичный Метод

public __construct ( League\Flysystem\Filesystem $filesystem, string $folder = 'cache' )
$filesystem League\Flysystem\Filesystem
$folder string
    public function __construct(Filesystem $filesystem, $folder = 'cache')
    {
        $this->folder = $folder;
        $this->filesystem = $filesystem;
        $this->filesystem->createDir($this->folder);
    }