113 lines
No EOL
2.7 KiB
PHP
113 lines
No EOL
2.7 KiB
PHP
<?php
|
|
|
|
namespace Volkszaehler\Model\Proxy;
|
|
|
|
/**
|
|
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
|
|
*/
|
|
class VolkszaehlerModelAggregatorProxy extends \Volkszaehler\Model\Aggregator implements \Doctrine\ORM\Proxy\Proxy
|
|
{
|
|
private $_entityPersister;
|
|
private $_identifier;
|
|
public $__isInitialized__ = false;
|
|
public function __construct($entityPersister, $identifier)
|
|
{
|
|
$this->_entityPersister = $entityPersister;
|
|
$this->_identifier = $identifier;
|
|
}
|
|
private function _load()
|
|
{
|
|
if (!$this->__isInitialized__ && $this->_entityPersister) {
|
|
$this->__isInitialized__ = true;
|
|
if ($this->_entityPersister->load($this->_identifier, $this) === null) {
|
|
throw new \Doctrine\ORM\EntityNotFoundException();
|
|
}
|
|
unset($this->_entityPersister, $this->_identifier);
|
|
}
|
|
}
|
|
|
|
|
|
public function addAggregator(\Volkszaehler\Model\Aggregator $child)
|
|
{
|
|
$this->_load();
|
|
return parent::addAggregator($child);
|
|
}
|
|
|
|
public function removeAggregator(\Volkszaehler\Model\Aggregator $child)
|
|
{
|
|
$this->_load();
|
|
return parent::removeAggregator($child);
|
|
}
|
|
|
|
public function addChannel(\Volkszaehler\Model\Channel $child)
|
|
{
|
|
$this->_load();
|
|
return parent::addChannel($child);
|
|
}
|
|
|
|
public function removeChannel(\Volkszaehler\Model\Channel $child)
|
|
{
|
|
$this->_load();
|
|
return parent::removeChannel($child);
|
|
}
|
|
|
|
public function getProperty($name)
|
|
{
|
|
$this->_load();
|
|
return parent::getProperty($name);
|
|
}
|
|
|
|
public function getProperties($prefix = NULL)
|
|
{
|
|
$this->_load();
|
|
return parent::getProperties($prefix);
|
|
}
|
|
|
|
public function setProperty(\Volkszaehler\Model\Property $property)
|
|
{
|
|
$this->_load();
|
|
return parent::setProperty($property);
|
|
}
|
|
|
|
public function unsetProperty($name)
|
|
{
|
|
$this->_load();
|
|
return parent::unsetProperty($name);
|
|
}
|
|
|
|
public function getId()
|
|
{
|
|
$this->_load();
|
|
return parent::getId();
|
|
}
|
|
|
|
public function getUuid()
|
|
{
|
|
$this->_load();
|
|
return parent::getUuid();
|
|
}
|
|
|
|
public function getType()
|
|
{
|
|
$this->_load();
|
|
return parent::getType();
|
|
}
|
|
|
|
public function getDefinition()
|
|
{
|
|
$this->_load();
|
|
return parent::getDefinition();
|
|
}
|
|
|
|
public function getInterpreter(\Doctrine\ORM\EntityManager $em, $from, $to)
|
|
{
|
|
$this->_load();
|
|
return parent::getInterpreter($em, $from, $to);
|
|
}
|
|
|
|
|
|
public function __sleep()
|
|
{
|
|
return array('__isInitialized__', 'id', 'uuid', 'type', 'tokens', 'properties', 'channels', 'children', 'parents');
|
|
}
|
|
} |