private function initTableTypeExtensions()
    {
        $this->tableTypeExtensions = [];

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

            $type = $extension->getExtendedType();

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

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

            $type = $extension->getExtendedType();

            $this->tableTypeExtensions[$type][] = $extension;
        }
    }
private function initTableTypeExtensions ( ) { $ this -> tableTypeExtensions = [ ] ; foreach ( $ this -> loadTableTypeExtensions ( ) as $ extension ) { if ( ! $ extension instanceof TableTypeExtensionInterface ) { throw new UnexpectedTypeException ( $ extension , TableTypeExtensionInterface :: class ) ; } $ type = $ extension -> getExtendedType ( ) ; $ this -> tableTypeExtensions [ $ type ] [ ] = $ extension ; } }
Initializes the table type extensions.

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