Symfony\Bundle\FrameworkBundle\Templating\Helper\RequestHelper
RequestHelper provides access to the current request parameters.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class RequestHelper
extends Helper
{
- // members
- protected $request;
- // Inherited members from Helper
- protected string $charset;
- // methods
- public void __construct()
- public mixed getParameter()
- public string getLocale()
- public string getName()
- // Inherited methods from Helper
- public void setCharset()
- public string getCharset()
Hierarchy
Members
protected
- $charset
- $request
Methods
public
- __construct() — Constructor.
- getLocale() — Returns the locale
- getName() — Returns the canonical name of this helper.
- getParameter() — Returns a parameter from the current request object.
Inherited from Symfony\Component\Templating\Helper\Helper
public
- getCharset() — Gets the default charset.
- setCharset() — Sets the default charset.