Doctrine\DBAL\Types\Type::addType
Adds a custom type to the type map.
Signature
public function addType(string
$name,
string
$className )
Parameters
$name
— string- Name of the type. This should correspond to what getName() returns.
$className
— string- The class name of the custom type.