This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/lib/Rails/ActionView/Template/Renderer.php
2013-10-04 19:10:33 -05:00

36 lines
627 B
PHP
Executable File

<?php
namespace Rails\ActionView\Template;
class Renderer
{
private $template;
private $file;
public function __construct($template, $file)
{
$this->template = $template;
$this->file = $file;
}
public function __get($prop)
{
return $this->getLocal($prop);
}
public function __set($prop, $value)
{
$this->setLocal($prop);
}
public function getLocal($prop)
{
return $this->template->getLocal($prop);
}
public function setLocal($prop, $value)
{
$this->template->setLocal($prop);
}
}