symfony Symfony Render a component in an action with Symfony 1.1+

<?php
public function executeBarfoo(sfWebRequest $request)
{
  return $this->renderComponent('my_module', 'my_component', array());
}

Share the love!

Liked this article? Please consider sharing it on your favorite network, it really helps me a lot!

You can also add your valuable insights by commenting below.