diff --git a/lib/Doctrine/Template.php b/lib/Doctrine/Template.php index 79ee884d1..e80013fb4 100644 --- a/lib/Doctrine/Template.php +++ b/lib/Doctrine/Template.php @@ -80,14 +80,20 @@ class Doctrine_Template extends Doctrine_Record_Abstract { return $this->_invoker; } - public function get() - { - throw new Exception(); - } + public function getPlugin() { return $this->_plugin; } + + public function get($name) + { + throw new Doctrine_Exception("Templates doesn't support accessors."); + } + public function set($name, $value) + { + throw new Doctrine_Exception("Templates doesn't support accessors."); + } public function setUp() { @@ -97,4 +103,4 @@ class Doctrine_Template extends Doctrine_Record_Abstract { } -} \ No newline at end of file +}