eZ\Bundle\EzPublishRestBundle\DependencyInjection\Configuration::addRestRootResourcesSection PHP Method

addRestRootResourcesSection() public method

public addRestRootResourcesSection ( $rootNode )
    public function addRestRootResourcesSection($rootNode)
    {
        $systemNode = $this->generateScopeBaseNode($rootNode);
        $systemNode->arrayNode('rest_root_resources')->prototype('array')->children()->scalarNode('mediaType')->isRequired()->end()->scalarNode('href')->isRequired()->end()->end()->end()->end();
    }