src/Sulu/Bundle/WebsiteBundle/Controller/AnalyticsController.php
public function getAction($webspace, $id)
    {
        $entity = $this->get('sulu_website.analytics.manager')->find($id);

        return $this->handleView($this->view($entity, 200));
    }
public function getAction($webspace, $id)
    {
        $entity = $this->get('sulu_website.analytics.manager')->find($id);

        return $this->handleView($this->view($entity, 200));
    }
public function getAction ( $ webspace , $ id ) { $ entity = $ this -> get ( 'sulu_website.analytics.manager' ) -> find ( $ id ) ; return $ this -> handleView ( $ this -> view ( $ entity , 200 ) ) ; }
Returns a single analytics by id.

@param string $webspace
@param int $id

@return Response
Returns a single analytics by id .