| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <[email protected]> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | |
| 12 | namespace Symfony\Component\Console\Helper; |
| 13 | |
| 14 | /** |
| 15 | * HelperInterface is the interface all helpers must implement. |
| 16 | * |
| 17 | * @author Fabien Potencier <[email protected]> |
| 18 | */ |
| 19 | interface HelperInterface |
| 20 | { |
| 21 | /** |
| 22 | * Sets the helper set associated with this helper. |
| 23 | */ |
| 24 | public function setHelperSet(?HelperSet $helperSet): void; |
| 25 | |
| 26 | /** |
| 27 | * Gets the helper set associated with this helper. |
| 28 | */ |
| 29 | public function getHelperSet(): ?HelperSet; |
| 30 | |
| 31 | /** |
| 32 | * Returns the canonical name of this helper. |
| 33 | */ |
| 34 | public function getName(): string; |
| 35 | } |