Controller/ShippingMethodController.php
public function tableAction()
    {
        $dr = $this->getDoctrine()->getManager()->getRepository(ShippingMethod::class);
        $shipmentMethodList = $dr->findAll();

        return $this->render('DyweeOrderBundle:ShippingMethod:table.html.twig', array('shipmentMethods' => $shipmentMethodList));
    }
public function tableAction()
    {
        $dr = $this->getDoctrine()->getManager()->getRepository(ShippingMethod::class);
        $shipmentMethodList = $dr->findAll();

        return $this->render('DyweeOrderBundle:ShippingMethod:table.html.twig', array('shipmentMethods' => $shipmentMethodList));
    }
@return Response

@Route(name="shipping_method_table", path="admin/shipment/method")