Controller/PersonController.php
private function _getPerson($id)
    {
        $em = $this->getDoctrine()->getManager();
        
        $person = $em->getRepository('ChillPersonBundle:Person')
            ->find($id);
        
        return $person;
    }
private function _getPerson($id)
    {
        $em = $this->getDoctrine()->getManager();
        
        $person = $em->getRepository('ChillPersonBundle:Person')
            ->find($id);
        
        return $person;
    }
private function _getPerson ( $ id ) { $ em = $ this -> getDoctrine ( ) -> getManager ( ) ; $ person = $ em -> getRepository ( 'ChillPersonBundle:Person' ) -> find ( $ id ) ; return $ person ; }
easy getting a person by his id
@return \Chill\PersonBundle\Entity\Person
easy getting a person by his id