Add missing canRequireSQLConversion() in example type code
This commit is contained in:
parent
76254d693d
commit
69295ba076
1 changed files with 5 additions and 0 deletions
|
@ -171,6 +171,11 @@ Now we're going to create the ``point`` type and implement all required methods.
|
|||
return $value;
|
||||
}
|
||||
|
||||
public function canRequireSQLConversion()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function convertToPHPValueSQL($sqlExpr, AbstractPlatform $platform)
|
||||
{
|
||||
return sprintf('AsText(%s)', $sqlExpr);
|
||||
|
|
Loading…
Add table
Reference in a new issue