This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Console/Helper/HelperInterface.php

50 lines
990 B
PHP
Raw Normal View History

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Console\Helper;
/**
* HelperInterface is the interface all helpers must implement.
*
* @author Fabien Potencier <fabien@symfony.com>
2011-03-24 08:39:53 +00:00
*
* @api
*/
interface HelperInterface
{
/**
* Sets the helper set associated with this helper.
*
* @param HelperSet $helperSet A HelperSet instance
2011-03-24 08:39:53 +00:00
*
* @api
*/
function setHelperSet(HelperSet $helperSet = null);
/**
* Gets the helper set associated with this helper.
*
* @return HelperSet A HelperSet instance
2011-03-24 08:39:53 +00:00
*
* @api
*/
function getHelperSet();
2010-01-11 13:46:11 +00:00
/**
* Returns the canonical name of this helper.
*
* @return string The canonical name
2011-03-24 08:39:53 +00:00
*
* @api
*/
function getName();
}