public function convertToPHPValue($value)
    {
        try {
            return Type::getType($this->dbType($this->getDbConnection()))
                ->convertToPHPValue(
                    $value,
                    $this->getDbConnection()->getDatabasePlatform()
                );
        } catch (\Exception $exception) {
            throw new ValidationError($exception->getMessage(), 'invalid');
        }
    }