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-01-04 15:26:20 +01:00

24 lines
314 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';
}
}