protected function initializeSession(Session $session) { parent::initializeSession($session); $session->getPoolerForType('converter')->getConverterHolder()->registerConverter('hstore', new PommHstore(), ['hstore', 'public.hstore']); }
protected function initializeSession(Session $session) { parent::initializeSession($session); $session->getPoolerForType('converter')->getConverterHolder()->registerConverter('MyComposite', new PommComposite(['a' => 'int4', 'b' => 'varchar[]']), ['test_type']); }