mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Regenerate doctrine entities and proxies
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user