bundle/Controller/Admin/AdminController.php
public function viewAction($collectionId)
    {
        $this->denyAccessUnlessGranted('ez:infocollector:read');

        $collection = $this->service->getCollection(new Query(['collectionId' => $collectionId]));

        return $this->render("NetgenInformationCollectionBundle:admin:view.html.twig", [
            'collection' => $collection,
            'content' => $collection->content,
        ]);
    }
public function viewAction($collectionId)
    {
        $this->denyAccessUnlessGranted('ez:infocollector:read');

        $collection = $this->service->getCollection(new Query(['collectionId' => $collectionId]));

        return $this->render("NetgenInformationCollectionBundle:admin:view.html.twig", [
            'collection' => $collection,
            'content' => $collection->content,
        ]);
    }
public function viewAction ( $ collectionId ) { $ this -> denyAccessUnlessGranted ( 'ez:infocollector:read' ) ; $ collection = $ this -> service -> getCollection ( new Query ( [ 'collectionId' => $ collectionId ] ) ) ; return $ this -> render ( "NetgenInformationCollectionBundle:admin:view.html.twig" , [ 'collection' => $ collection , 'content' => $ collection -> content , ] ) ; }
Displays individual collection details

@param int $collectionId

@return \Symfony\Component\HttpFoundation\Response
Displays individual collection details