interface HelperInterface
HelperInterface is the interface all helpers must implement.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\Console\Helper\HelperInterface
Expanded class hierarchy of HelperInterface
All classes that implement HelperInterface
3 files declare their use of HelperInterface
- Command.php in vendor/
symfony/ console/ Command/ Command.php - LazyCommand.php in vendor/
symfony/ console/ Command/ LazyCommand.php - TraceableCommand.php in vendor/
symfony/ console/ Command/ TraceableCommand.php
File
-
vendor/
symfony/ console/ Helper/ HelperInterface.php, line 19
Namespace
Symfony\Component\Console\HelperView source
interface HelperInterface {
/**
* Sets the helper set associated with this helper.
*/
public function setHelperSet(?HelperSet $helperSet) : void;
/**
* Gets the helper set associated with this helper.
*/
public function getHelperSet() : ?HelperSet;
/**
* Returns the canonical name of this helper.
*/
public function getName() : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
HelperInterface::getHelperSet | public | function | Gets the helper set associated with this helper. | 1 |
HelperInterface::getName | public | function | Returns the canonical name of this helper. | 5 |
HelperInterface::setHelperSet | public | function | Sets the helper set associated with this helper. | 1 |