Hello! I'd like to encapsulate functionality specific to certain models by including methods in the model class definitions. So, for example:
abstract class BaseUser extends DoctrineRecord {
public function setTableDefinition(){
//etc.
}
public function setUp(){
//etc.
}
public function getName(){
return $this->name
}
}
$this->name throws an error, as does $name. Is it possible to access the model properties from here?