浏览代码

added a comment in PHPDoc about what should be a helper instance

Fabien Potencier 15 年之前
父节点
当前提交
9005efaa17
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/Symfony/Components/Templating/Helper/Helper.php

+ 3 - 0
src/Symfony/Components/Templating/Helper/Helper.php

@@ -14,6 +14,9 @@ namespace Symfony\Components\Templating\Helper;
 /**
  * Helper is the base class for all helper classes.
  *
+ * Most of the time, a Helper is an adapter around an existing
+ * class that exposes a read-only interface for templates.
+ *
  * @package    Symfony
  * @subpackage Components_Templating
  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>