removed output() methods, which are only shortcut for 'echo render'
This commit is contained in:
parent
6432dea07c
commit
e1a3cd0446
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user