Since: 2.0
Author: Roman Borschel (roman@code-factory.org)
Inheritance: extends Doctrine\DBAL\Platforms\AbstractPlatform
Example #1
0
 /**
  * Default constructor.
  * Mostly this just registers the geometry database type.
  */
 public function __construct()
 {
     parent::__construct();
     if (!Type::hasType('geometry')) {
         Type::addType("geometry", "AgNetSolutions\\Spatial\\DBAL\\Types\\GeometryType");
     }
     $this->registerDoctrineTypeMapping('geometry', 'geometry');
 }