1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace Gedmo\Tree\Proxies;
- /**
- * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
- */
- class TreeFixtureCategoryProxy extends \Tree\Fixture\Category 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 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 setParent(\Tree\Fixture\Category $parent)
- {
- $this->_load();
- return parent::setParent($parent);
- }
- public function getParent()
- {
- $this->_load();
- return parent::getParent();
- }
- public function __sleep()
- {
- return array('__isInitialized__', 'id', 'title', 'lft', 'rgt', 'parentId', 'level', 'children', 'comments');
- }
- }
|