Cachearium\CacheKey::__construct PHP Method

__construct() public method

public __construct ( string $base, string $id, string $sub = '' )
$base string Base string name for the type of cache (e.g., Event)
$id string Item id
$sub string If an item is cache in parts, this is used to specify the parts.
    public function __construct($base, $id, $sub = '')
    {
        $this->base = $base;
        $this->id = $id;
        $this->sub = $sub;
    }