src/Sulu/Bundle/PageBundle/EventListener/WebspaceSerializeEventSubscriber.php
private function appendUrls(Webspace $webspace, Context $context, JsonSerializationVisitor $visitor)
    {
        $urls = $this->webspaceUrlProvider->getUrls($webspace, $this->environment);
        $urls = $context->accept($urls);
        $visitor->addData('urls', $urls);
    }
private function appendUrls(Webspace $webspace, Context $context, JsonSerializationVisitor $visitor)
    {
        $urls = $this->webspaceUrlProvider->getUrls($webspace, $this->environment);
        $urls = $context->accept($urls);
        $visitor->addData('urls', $urls);
    }
private function appendUrls ( Webspace $ webspace , Context $ context , JsonSerializationVisitor $ visitor ) { $ urls = $ this -> webspaceUrlProvider -> getUrls ( $ webspace , $ this -> environment ) ; $ urls = $ context -> accept ( $ urls ) ; $ visitor -> addData ( 'urls' , $ urls ) ; }
Extract urls and add them to serialization.

@param Webspace $webspace
@param Context $context
@param JsonSerializationVisitor $visitor
Extract urls and add them to serialization .