Bundle/ViewReferenceBundle/Builder/ViewReferenceBuilder.php
public function buildViewReference(View $view, EntityManager $em = null)
    {
        $viewReferenceBuilder = $this->viewReferenceBuilderChain->getViewReferenceBuilder($view);
        $viewReference = $viewReferenceBuilder->buildReference($view, $em);

        return $viewReference;
    }
public function buildViewReference(View $view, EntityManager $em = null)
    {
        $viewReferenceBuilder = $this->viewReferenceBuilderChain->getViewReferenceBuilder($view);
        $viewReference = $viewReferenceBuilder->buildReference($view, $em);

        return $viewReference;
    }
public function buildViewReference ( View $ view , EntityManager $ em = null ) { $ viewReferenceBuilder = $ this -> viewReferenceBuilderChain -> getViewReferenceBuilder ( $ view ) ; $ viewReference = $ viewReferenceBuilder -> buildReference ( $ view , $ em ) ; return $ viewReference ; }
compute the viewReference relative to a View + entity.

@param WebViewInterface $view

@return ViewReference
compute the viewReference relative to a View + entity .