protected function addConstructor() { return <<<EOF /** * Constructor. */ public function __construct(array \$context = array(), array \$defaults = array()) { \$this->context = \$context; \$this->defaults = \$defaults; } EOF; }