src/Controller/Admin/TagController.php
public function indexAction()
    {
        $em = $this->getDoctrine()->getManager();

        $entities = $em->getRepository('VeonikBlogBundle:Tag')->findAll();

        return array(
            'entities' => $entities,
        );
    }
public function indexAction()
    {
        $em = $this->getDoctrine()->getManager();

        $entities = $em->getRepository('VeonikBlogBundle:Tag')->findAll();

        return array(
            'entities' => $entities,
        );
    }
public function indexAction ( ) { $ em = $ this -> getDoctrine ( ) -> getManager ( ) ; $ entities = $ em -> getRepository ( 'VeonikBlogBundle:Tag' ) -> findAll ( ) ; return array ( 'entities' => $ entities , ) ; }
Lists all Tag entities.

@Route("s/", name="manage_tags")
@Template()
Lists all Tag entities .