protected function createBackendViewDefinition($container)
    {
        if ($container->hasDefinition(Contao2BackendViewDefinitionInterface::NAME)) {
            $view = $container->getDefinition(Contao2BackendViewDefinitionInterface::NAME);
        } else {
            $view = new Contao2BackendViewDefinition();
            $container->setDefinition(Contao2BackendViewDefinitionInterface::NAME, $view);
        }

        return $view;
    }
protected function createBackendViewDefinition($container)
    {
        if ($container->hasDefinition(Contao2BackendViewDefinitionInterface::NAME)) {
            $view = $container->getDefinition(Contao2BackendViewDefinitionInterface::NAME);
        } else {
            $view = new Contao2BackendViewDefinition();
            $container->setDefinition(Contao2BackendViewDefinitionInterface::NAME, $view);
        }

        return $view;
    }
protected function createBackendViewDefinition ( $ container ) { if ( $ container -> hasDefinition ( Contao2BackendViewDefinitionInterface :: NAME ) ) { $ view = $ container -> getDefinition ( Contao2BackendViewDefinitionInterface :: NAME ) ; } else { $ view = new Contao2BackendViewDefinition ( ) ; $ container -> setDefinition ( Contao2BackendViewDefinitionInterface :: NAME , $ view ) ; } return $ view ; }
Create the backend view definition.

@param ContainerInterface $container The container.

@return Contao2BackendViewDefinition
Create the backend view definition .