* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ /** * HelperInterface is the interface all helpers must implement. * * @author Fabien Potencier */ interface HelperInterface { /** * Sets the helper set associated with this helper. * * @param HelperSet $helperSet A HelperSet instance */ function setHelperSet(HelperSet $helperSet = null); /** * Gets the helper set associated with this helper. * * @return HelperSet A HelperSet instance */ function getHelperSet(); /** * Returns the canonical name of this helper. * * @return string The canonical name */ function getName(); }