private function initActionTypeExtensions()
    {
        $this->actionTypeExtensions = [];

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

            $type = $extension->getExtendedType();

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

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

            $type = $extension->getExtendedType();

            $this->actionTypeExtensions[$type][] = $extension;
        }
    }
private function initActionTypeExtensions ( ) { $ this -> actionTypeExtensions = [ ] ; foreach ( $ this -> loadActionTypeExtensions ( ) as $ extension ) { if ( ! $ extension instanceof ActionTypeExtensionInterface ) { throw new UnexpectedTypeException ( $ extension , ActionTypeExtensionInterface :: class ) ; } $ type = $ extension -> getExtendedType ( ) ; $ this -> actionTypeExtensions [ $ type ] [ ] = $ extension ; } }
Initializes the action type extensions.

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