1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?php
- namespace Gedmo\Timestampable\Proxies;
- /**
- * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
- */
- class TimestampableFixtureArticleProxy extends \Timestampable\Fixture\Article 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 setType($type)
- {
- $this->_load();
- return parent::setType($type);
- }
- public function getId()
- {
- $this->_load();
- return parent::getId();
- }
- public function setTitle($title)
- {
- $this->_load();
- return parent::setTitle($title);
- }
- public function getTitle()
- {
- $this->_load();
- return parent::getTitle();
- }
- public function addComment(\Timestampable\Fixture\Comment $comment)
- {
- $this->_load();
- return parent::addComment($comment);
- }
- public function getComments()
- {
- $this->_load();
- return parent::getComments();
- }
- public function getCreated()
- {
- $this->_load();
- return parent::getCreated();
- }
- public function getPublished()
- {
- $this->_load();
- return parent::getPublished();
- }
- public function getUpdated()
- {
- $this->_load();
- return parent::getUpdated();
- }
- public function __sleep()
- {
- return array('__isInitialized__', 'id', 'title', 'comments', 'created', 'updated', 'published', 'type');
- }
- }
|