eZ\Publish\Core\REST\Server\Values\CachedValue::__construct PHP Method

__construct() public method

public __construct ( mixed $value, array $cacheTags = [] )
$value mixed The value that gets cached
$cacheTags array Tags to add to the cache (supported: locationId)
    public function __construct($value, array $cacheTags = array())
    {
        $this->value = $value;
        $this->cacheTags = $this->checkCacheTags($cacheTags);
    }