Microweber\Utils\Adapters\Cache\Storage\FileStorage::__construct PHP Method

__construct() public method

public __construct ( $prefix = '' )
    public function __construct($prefix = '')
    {
        $this->files = new Filesystem();
        $this->prefix = $prefix;
        $this->directory = \Config::get('cache.stores.file.path') . '/' . app()->environment();
        $this->tags = array();
        $this->directoryTags = $this->directory . (!empty($prefix) ? '/' . $prefix : '') . '/tags';
    }