DI model generator

This commit is contained in:
Manuel Raynaud
2012-12-21 15:03:26 +01:00
parent 6ba59276e1
commit e1a756405d
9 changed files with 803 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Thelia\Database;
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;
}
}
}