original_string: public function datatableIcon(Twig_Environment $twig, $icon, $label = '')
      {
          if ($icon)
              return $twig->render('SgDatatablesBundle:Action:icon.html.twig', array('icon' => $icon, 'label' => $label));
          else
              return $label;
      }
code: public function datatableIcon(Twig_Environment $twig, $icon, $label = '')
      {
          if ($icon)
              return $twig->render('SgDatatablesBundle:Action:icon.html.twig', array('icon' => $icon, 'label' => $label));
          else
              return $label;
      }
code_tokens: public function datatableIcon ( Twig_Environment $ twig , $ icon , $ label = '' ) { if ( $ icon ) return $ twig -> render ( 'SgDatatablesBundle:Action:icon.html.twig' , array ( 'icon' => $ icon , 'label' => $ label ) ) ; else return $ label ; }
docstring: Renders icon && label.
  
  @param Twig_Environment $twig
  @param string           $icon
  @param string           $label
  
  @return string
docstring_tokens: Renders icon && label .