private function initColumnTypeExtensions()
    {
        $this->columnTypeExtensions = [];

        foreach ($this->loadColumnTypeExtensions() as $extension) {
            if (!$extension instanceof ColumnTypeExtensionInterface) {
                throw new UnexpectedTypeException($extension, ColumnTypeExtensionInterface::class);
            }

            $type = $extension->getExtendedType();

            $this->columnTypeExtensions[$type][] = $extension;
        }
    }
private function initColumnTypeExtensions()
    {
        $this->columnTypeExtensions = [];

        foreach ($this->loadColumnTypeExtensions() as $extension) {
            if (!$extension instanceof ColumnTypeExtensionInterface) {
                throw new UnexpectedTypeException($extension, ColumnTypeExtensionInterface::class);
            }

            $type = $extension->getExtendedType();

            $this->columnTypeExtensions[$type][] = $extension;
        }
    }
private function initColumnTypeExtensions ( ) { $ this -> columnTypeExtensions = [ ] ; foreach ( $ this -> loadColumnTypeExtensions ( ) as $ extension ) { if ( ! $ extension instanceof ColumnTypeExtensionInterface ) { throw new UnexpectedTypeException ( $ extension , ColumnTypeExtensionInterface :: class ) ; } $ type = $ extension -> getExtendedType ( ) ; $ this -> columnTypeExtensions [ $ type ] [ ] = $ extension ; } }
Initializes the column type extensions.

@throws UnexpectedTypeException if any registered type extension is not
an instance of FormTypeExtensionInterface
Initializes the column type extensions .