public function showAction(Plan $plan)
    {
        $deleteForm = $this->createDeleteForm($plan);
        //get plan
        $paypalPlan = $this->get('checkout_manager')->getPaypalPlan($plan);
        
        return array(
            'entity' => $plan,
            'delete_form' => $deleteForm->createView(),
            'paypalPlan' => $paypalPlan
        );
    }
public function showAction(Plan $plan)
    {
        $deleteForm = $this->createDeleteForm($plan);
        //get plan
        $paypalPlan = $this->get('checkout_manager')->getPaypalPlan($plan);
        
        return array(
            'entity' => $plan,
            'delete_form' => $deleteForm->createView(),
            'paypalPlan' => $paypalPlan
        );
    }
public function showAction ( Plan $ plan ) { $ deleteForm = $ this -> createDeleteForm ( $ plan ) ; //get plan $ paypalPlan = $ this -> get ( 'checkout_manager' ) -> getPaypalPlan ( $ plan ) ; return array ( 'entity' => $ plan , 'delete_form' => $ deleteForm -> createView ( ) , 'paypalPlan' => $ paypalPlan ) ; }
Finds and displays a Plan entity.

@Route("/{id}")
@Method("GET")
@Template()
Finds and displays a Plan entity .