. */ /* */ /*************************************************************************************/ namespace Thelia\Database; /** * * Class Thelia\Database\NotORM extending \NotORM library http://www.notorm.com/ * * This class create or redifine some setters * * @author Manuel Raynaud */ class NotORM extends \NotORM { public function setCache(\NotORM_Cache $cache) { $this->cache = $cache; } public function setDebug($debug) { if(is_callable($debug)) { $this->debug = $debug; } else { $this->debug = true; } } }