소스 검색

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>