private function findCustomerById ($id) {
        $customer = $this->getDoctrine()
            ->getManager()
            ->getRepository('CanalTPNmmPortalBundle:Customer')
            ->find($id);

        return $customer;
    }