Regenerate doctrine entities and proxies

This commit is contained in:
Romain Neutron
2013-06-17 15:05:20 +02:00
parent 241705a568
commit 88c3df2ef7
60 changed files with 2141 additions and 1842 deletions

View File

@@ -75,18 +75,6 @@ class SessionModule extends \Entities\SessionModule implements \Doctrine\ORM\Pro
return parent::getCreated();
}
public function setSession(\Entities\Session $session = NULL)
{
$this->__load();
return parent::setSession($session);
}
public function getSession()
{
$this->__load();
return parent::getSession();
}
public function setUpdated($updated)
{
$this->__load();
@@ -99,6 +87,18 @@ class SessionModule extends \Entities\SessionModule implements \Doctrine\ORM\Pro
return parent::getUpdated();
}
public function setSession(\Entities\Session $session = NULL)
{
$this->__load();
return parent::setSession($session);
}
public function getSession()
{
$this->__load();
return parent::getSession();
}
public function __sleep()
{
@@ -114,7 +114,7 @@ class SessionModule extends \Entities\SessionModule implements \Doctrine\ORM\Pro
if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
foreach ($class->reflFields AS $field => $reflProperty) {
foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original));
}
unset($this->_entityPersister, $this->_identifier);