code: public function display(Environment $environment, $template, $type = null, $size = 'md', $object = null)
      {
          //Defines tools
          $tools = $environment->render($template, array(
                  'type' => $type,
                  'object' => $object,
              ));
  
          //Defines toolbar
          return $environment->render('@c975LToolbar/toolbar.html.twig', array(
                  'tools' => $tools,
                  'size' => $size,
              ));
      }
docs: Returns the xhtml code for the toolbar
  @return string