public function getValue(bool $transform = false)
    {
        if ($transform && $this->transformer !== null)
            return $this->transformer->serialize($this->value);
        return $this->value;
    }