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/tests/lib/SymfonyTests/Components/Templating/SimpleHelper.php
2010-05-06 13:25:53 +02:00

24 lines
346 B
PHP

<?php
use Symfony\Components\Templating\Helper\Helper;
class SimpleHelper extends Helper
{
protected $value = '';
public function __construct($value)
{
$this->value = $value;
}
public function __toString()
{
return $this->value;
}
public function getName()
{
return 'foo';
}
}