W3cubDocs

/Symfony 4.1

HelperInterface

interface HelperInterface

HelperInterface is the interface all helpers must implement.

Methods

setHelperSet(HelperSet $helperSet = null)

Sets the helper set associated with this helper.

HelperSet getHelperSet()

Gets the helper set associated with this helper.

string getName()

Returns the canonical name of this helper.

Details

setHelperSet(HelperSet $helperSet = null)

Sets the helper set associated with this helper.

Parameters

HelperSet $helperSet

HelperSet getHelperSet()

Gets the helper set associated with this helper.

Return Value

HelperSet A HelperSet instance

string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Console/Helper/HelperInterface.html