src/Contao/Dca/Builder/Legacy/LegacyDcaDataDefinitionBuilder.php
protected function parseRootEntries(ContainerInterface $container)
    {
        if (\is_array($root = $this->getFromDca('list/sorting/root'))) {
            $entries = $container->getBasicDefinition()->getRootEntries();

            $container->getBasicDefinition()->setRootEntries(\array_merge($entries, $root));
        }
    }
protected function parseRootEntries(ContainerInterface $container)
    {
        if (\is_array($root = $this->getFromDca('list/sorting/root'))) {
            $entries = $container->getBasicDefinition()->getRootEntries();

            $container->getBasicDefinition()->setRootEntries(\array_merge($entries, $root));
        }
    }
protected function parseRootEntries ( ContainerInterface $ container ) { if ( \ is_array ( $ root = $ this -> getFromDca ( 'list/sorting/root' ) ) ) { $ entries = $ container -> getBasicDefinition ( ) -> getRootEntries ( ) ; $ container -> getBasicDefinition ( ) -> setRootEntries ( \ array_merge ( $ entries , $ root ) ) ; } }
This method parses the root entries definition.

@param ContainerInterface $container The container where the data shall be stored.

@return void
This method parses the root entries definition .