WellCommerce\Component\DataSet\Cache\CacheOptions::__construct PHP Method

__construct() public method

CacheOptions constructor.
public __construct ( boolean $enabled = false, integer $ttl = 3600, array $tags = [] )
$enabled boolean
$ttl integer
$tags array
    public function __construct(bool $enabled = false, int $ttl = 3600, array $tags = [])
    {
        $this->enabled = $enabled;
        $this->ttl = $ttl;
        $this->tags = $tags;
    }