removed output() methods, which are only shortcut for 'echo render'

This commit is contained in:
Fabien Potencier 2011-01-23 22:09:12 +01:00
parent 6432dea07c
commit e1a3cd0446
3 changed files with 0 additions and 31 deletions

View File

@ -82,15 +82,6 @@ class JavascriptsHelper extends Helper
return $html;
}
/**
* Outputs HTML representation of the links to JavaScripts.
*
*/
public function output()
{
echo $this->render();
}
/**
* Returns a string representation of this helper as HTML.
*

View File

@ -82,15 +82,6 @@ class StylesheetsHelper extends Helper
return $html;
}
/**
* Outputs HTML representation of the links to stylesheets.
*
*/
public function output()
{
echo $this->render();
}
/**
* Returns a string representation of this helper as HTML.
*

View File

@ -33,19 +33,6 @@ class ActionsHelper extends Helper
$this->kernel = $kernel;
}
/**
* Outputs the Response content for a given controller.
*
* @param string $controller A controller name to execute (a string like BlogBundle:Post:index), or a relative URI
* @param array $options An array of options
*
* @see render()
*/
public function output($controller, array $attributes = array(), array $options = array())
{
echo $this->render($controller, $attributes, $options);
}
/**
* Returns the Response content for a given controller or URI.
*