Warning: file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605507e684d79.90188974): failed to open stream: No space left on device
500 Internal Server Error - ContextErrorException
Stack Trace
-
in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php at line 304
$tmpFileName = $fileName . '.' . uniqid('', true);
file_put_contents($tmpFileName, $proxyCode);
chmod($tmpFileName, 0664);
rename($tmpFileName, $fileName);
}
-
at
ErrorHandler
->handleError
('2', 'file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605507e684d79.90188974): failed to open stream: No space left on device', '/home/emtrgco/public_html/releases/20200528214001/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php', '304', array('class' => object(ClassMetadata), 'fileName' => '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php', 'placeholderMatches' => array('
' => 'namespace', ' ' => 'proxyShortClassName', ' ' => 'className', ' ' => 'baseProxyInterface', ' ' => 'lazyPropertiesDefaults', ' ' => 'additionalProperties', ' ' => 'constructorImpl', ' ' => 'magicGet', ' ' => 'magicSet', ' ' => 'magicIsset', ' ' => 'sleepImpl', ' ' => 'wakeupImpl', ' ' => 'cloneImpl', ' ' => 'methods'), 'placeholders' => array(' ' => 'Proxies\__CG__\SCA\Classification\Model', ' ' => 'Category', ' ' => 'SCA\Classification\Model\Category', ' ' => 'Doctrine\ORM\Proxy\Proxy', ' ' => '', ' ' => '', ' ' => ' /** * @param \Closure $initializer * @param \Closure $cloner */ public function __construct($initializer = null, $cloner = null) { $this->__initializer__ = $initializer; $this->__cloner__ = $cloner; }', ' ' => '', ' ' => '', ' ' => '', ' ' => ' /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); }', ' ' => ' /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Category $proxy) { $proxy->__setInitializer(null); $proxy->__setCloner(null); $existingProperties = get_object_vars($proxy); foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { if ( ! array_key_exists($property, $existingProperties)) { $proxy->$property = $defaultValue; } } }; } }', ' ' => ' /** * */ public function __clone() { $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array()); }', ' ' => ' /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } '), 'placeholder' => ' /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } ', 'name' => 'methods', 'this' => object(ProxyGenerator), 'proxyCode' => '<?php namespace Proxies\__CG__\SCA\Classification\Model; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Category extends \SCA\Classification\Model\Category implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with * three parameters, being respectively the proxy object to be initialized, the method that triggered the * initialization process and an array of ordered parameters that were passed to that method. * * @see \Doctrine\Common\Persistence\Proxy::__setInitializer */ public $__initializer__; /** * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object * * @see \Doctrine\Common\Persistence\Proxy::__setCloner */ public $__cloner__; /** * @var boolean flag indicating if this object was already initialized * * @see \Doctrine\Common\Persistence\Proxy::__isInitialized */ public $__isInitialized__ = false; /** * @var array properties to be lazy loaded, with keys being the property * names and values being their default values * * @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties */ public static $lazyPropertiesDefaults = array(); /** * @param \Closure $initializer * @param \Closure $cloner */ public function __construct($initializer = null, $cloner = null) { $this->__initializer__ = $initializer; $this->__cloner__ = $cloner; } /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Category $proxy) { $proxy->__setInitializer(null); $proxy->__setCloner(null); $existingProperties = get_object_vars($proxy); foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { if ( ! array_key_exists($property, $existingProperties)) { $proxy->$property = $defaultValue; } } }; } } /** * */ public function __clone() { $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array()); } /** * Forces initialization of the proxy */ public function __load() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array()); } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __isInitialized() { return $this->__isInitialized__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitialized($initialized) { $this->__isInitialized__ = $initialized; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitializer(\Closure $initializer = null) { $this->__initializer__ = $initializer; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __getInitializer() { return $this->__initializer__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setCloner(\Closure $cloner = null) { $this->__cloner__ = $cloner; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific cloning logic */ public function __getCloner() { return $this->__cloner__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic * @static */ public function __getLazyProperties() { return self::$lazyPropertiesDefaults; } /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } } ', 'parentDirectory' => '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies', 'tmpFileName' => '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605507e684d79.90188974')) -
at
file_put_contents
('/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605507e684d79.90188974', '<?php
namespace Proxies\__CG__\SCA\Classification\Model;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Category extends \SCA\Classification\Model\Category implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with
* three parameters, being respectively the proxy object to be initialized, the method that triggered the
* initialization process and an array of ordered parameters that were passed to that method.
*
* @see \Doctrine\Common\Persistence\Proxy::__setInitializer
*/
public $__initializer__;
/**
* @var \Closure the callback responsible of loading properties that need to be copied in the cloned object
*
* @see \Doctrine\Common\Persistence\Proxy::__setCloner
*/
public $__cloner__;
/**
* @var boolean flag indicating if this object was already initialized
*
* @see \Doctrine\Common\Persistence\Proxy::__isInitialized
*/
public $__isInitialized__ = false;
/**
* @var array properties to be lazy loaded, with keys being the property
* names and values being their default values
*
* @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties
*/
public static $lazyPropertiesDefaults = array();
/**
* @param \Closure $initializer
* @param \Closure $cloner
*/
public function __construct($initializer = null, $cloner = null)
{
$this->__initializer__ = $initializer;
$this->__cloner__ = $cloner;
}
/**
*
* @return array
*/
public function __sleep()
{
if ($this->__isInitialized__) {
return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media');
}
return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media');
}
/**
*
*/
public function __wakeup()
{
if ( ! $this->__isInitialized__) {
$this->__initializer__ = function (Category $proxy) {
$proxy->__setInitializer(null);
$proxy->__setCloner(null);
$existingProperties = get_object_vars($proxy);
foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {
if ( ! array_key_exists($property, $existingProperties)) {
$proxy->$property = $defaultValue;
}
}
};
}
}
/**
*
*/
public function __clone()
{
$this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array());
}
/**
* Forces initialization of the proxy
*/
public function __load()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array());
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __isInitialized()
{
return $this->__isInitialized__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitialized($initialized)
{
$this->__isInitialized__ = $initialized;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setInitializer(\Closure $initializer = null)
{
$this->__initializer__ = $initializer;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __getInitializer()
{
return $this->__initializer__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
*/
public function __setCloner(\Closure $cloner = null)
{
$this->__cloner__ = $cloner;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific cloning logic
*/
public function __getCloner()
{
return $this->__cloner__;
}
/**
* {@inheritDoc}
* @internal generated method: use only when explicitly handling proxy specific loading logic
* @static
*/
public function __getLazyProperties()
{
return self::$lazyPropertiesDefaults;
}
/**
* {@inheritDoc}
*/
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) parent::getId();
}
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
return parent::getId();
}
/**
* {@inheritDoc}
*/
public function disableChildrenLazyLoading()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array());
return parent::disableChildrenLazyLoading();
}
/**
* {@inheritDoc}
*/
public function setName($name)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name));
return parent::setName($name);
}
/**
* {@inheritDoc}
*/
public function getName()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array());
return parent::getName();
}
/**
* {@inheritDoc}
*/
public function setEnabled($enabled)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled));
return parent::setEnabled($enabled);
}
/**
* {@inheritDoc}
*/
public function getEnabled()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array());
return parent::getEnabled();
}
/**
* {@inheritDoc}
*/
public function setSlug($slug)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug));
return parent::setSlug($slug);
}
/**
* {@inheritDoc}
*/
public function getSlug()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array());
return parent::getSlug();
}
/**
* {@inheritDoc}
*/
public function setDescription($description)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description));
return parent::setDescription($description);
}
/**
* {@inheritDoc}
*/
public function getDescription()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array());
return parent::getDescription();
}
/**
* {@inheritDoc}
*/
public function __toString()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array());
return parent::__toString();
}
/**
* {@inheritDoc}
*/
public function prePersist()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array());
return parent::prePersist();
}
/**
* {@inheritDoc}
*/
public function preUpdate()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array());
return parent::preUpdate();
}
/**
* {@inheritDoc}
*/
public function setCreatedAt(\DateTime $createdAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt));
return parent::setCreatedAt($createdAt);
}
/**
* {@inheritDoc}
*/
public function getCreatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array());
return parent::getCreatedAt();
}
/**
* {@inheritDoc}
*/
public function setUpdatedAt(\DateTime $updatedAt)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt));
return parent::setUpdatedAt($updatedAt);
}
/**
* {@inheritDoc}
*/
public function getUpdatedAt()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array());
return parent::getUpdatedAt();
}
/**
* {@inheritDoc}
*/
public function setPosition($position)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position));
return parent::setPosition($position);
}
/**
* {@inheritDoc}
*/
public function getPosition()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array());
return parent::getPosition();
}
/**
* {@inheritDoc}
*/
public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child));
return parent::addChildren($child);
}
/**
* {@inheritDoc}
*/
public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested));
return parent::addChild($child, $nested);
}
/**
* {@inheritDoc}
*/
public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete));
return parent::removeChild($childToDelete);
}
/**
* {@inheritDoc}
*/
public function getChildren()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array());
return parent::getChildren();
}
/**
* {@inheritDoc}
*/
public function setChildren($children)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children));
return parent::setChildren($children);
}
/**
* {@inheritDoc}
*/
public function hasChildren()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array());
return parent::hasChildren();
}
/**
* {@inheritDoc}
*/
public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested));
return parent::setParent($parent, $nested);
}
/**
* {@inheritDoc}
*/
public function getParent()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array());
return parent::getParent();
}
/**
* {@inheritDoc}
*/
public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL)
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media));
return parent::setMedia($media);
}
/**
* {@inheritDoc}
*/
public function getMedia()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array());
return parent::getMedia();
}
}
')
in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php at line 304 -
at
ProxyGenerator
->generateProxyClass
(object(ClassMetadata), '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php')
in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 220 -
at
AbstractProxyFactory
->getProxyDefinition
('SCA\Classification\Model\Category')
in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 119 -
at
AbstractProxyFactory
->getProxy
('SCA\Classification\Model\Category', array('id' => '4'))
in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 2695 -
at
UnitOfWork
->createEntity
('SCA\Commerce\Model\Product', array('name' => 'Food Safety Book', 'slug' => 'food-safety-book', 'summary' => null, 'description' => '<p>This book will compliment any of our Food Safety Online Courses.</p>
<p>Level 2 Food Safety Made Easy (Edition 5) is an easy to understand guide for food handlers covering important food safety principles.</p>
<p>Ideal for those attending Level 2 food safety courses.</p>
<p>Includes information on the new allergen laws that were introduced in December 2014. Designed to be easy to learn from. Contains simple, accurate information with lots of pictures and diagrams. Features a logical and easy to understand layout. Includes a 'Test Your Knowledge' section. </p>
<p>Suitable for people working in retail, manufacturing and catering environments.</p>
<p>Title: Level 2 Food Safety Made Easy Author: Stuart Fellows, Paul Stedman Pages: 40 ISBN: 978 0 9552294 4 2 Format: A4 Published: 2015 Edition 5.0</p>', 'published' => false, 'price' => '700', 'postage' => '0', 'stock' => '0', 'position' => null, 'createdAt' => object(DateTime), 'updatedAt' => object(DateTime), 'id' => '18', 'category_id' => '4', 'poster_id' => '82'), array('fetchMode' => array('SCA\Commerce\Model\Product' => array('category' => '2'))))
in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 144 -
at
SimpleObjectHydrator
->hydrateRowData
(array('name_1' => 'Food Safety Book', 'slug_2' => 'food-safety-book', 'summary_3' => null, 'description_4' => '<p>This book will compliment any of our Food Safety Online Courses.</p>
<p>Level 2 Food Safety Made Easy (Edition 5) is an easy to understand guide for food handlers covering important food safety principles.</p>
<p>Ideal for those attending Level 2 food safety courses.</p>
<p>Includes information on the new allergen laws that were introduced in December 2014. Designed to be easy to learn from. Contains simple, accurate information with lots of pictures and diagrams. Features a logical and easy to understand layout. Includes a 'Test Your Knowledge' section. </p>
<p>Suitable for people working in retail, manufacturing and catering environments.</p>
<p>Title: Level 2 Food Safety Made Easy Author: Stuart Fellows, Paul Stedman Pages: 40 ISBN: 978 0 9552294 4 2 Format: A4 Published: 2015 Edition 5.0</p>', 'published_5' => '0', 'price_6' => '700', 'postage_7' => '0', 'stock_8' => '0', 'position_9' => null, 'created_at_10' => '0000-00-00 00:00:00', 'updated_at_11' => '2017-03-21 09:50:27', 'id_12' => '18', 'category_id_13' => '4', 'poster_id_14' => '82'), array())
in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 69 -
at
SimpleObjectHydrator
->hydrateAllData
()
in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php at line 147 -
at
AbstractHydrator
->hydrateAll
(object(PDOStatement), object(ResultSetMapping), array())
in vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php at line 720 -
at
BasicEntityPersister
->load
(array('slug' => 'food-safety-book'), null, null, array(), null, '1', null)
in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 196 -
at
EntityRepository
->findOneBy
(array('slug' => 'food-safety-book'))
in app/cache/prod/classes.php at line 7537 -
at
DoctrineParamConverter
->findOneBy
('SCA\Commerce\Model\Product', object(Request), array('entity_manager' => null, 'exclude' => array(), 'mapping' => array(), 'strip_null' => false))
in app/cache/prod/classes.php at line 7439 -
at
DoctrineParamConverter
->apply
(object(Request), object(ParamConverter))
in app/cache/prod/classes.php at line 7628 -
at
ParamConverterManager
->applyConverter
(object(Request), object(ParamConverter))
in app/cache/prod/classes.php at line 7601 -
at
ParamConverterManager
->apply
(object(Request), array('product' => object(ParamConverter)))
in app/cache/prod/classes.php at line 7335 - at ParamConverterListener ->onKernelController (object(FilterControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
-
at
call_user_func
(array(object(ParamConverterListener), 'onKernelController'), object(FilterControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61 - at WrappedListener ->__invoke (object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
-
at
call_user_func
(object(WrappedListener), object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
in app/cache/prod/classes.php at line 2290 -
at
EventDispatcher
->doDispatch
(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.controller', object(FilterControllerEvent))
in app/cache/prod/classes.php at line 2216 -
at
EventDispatcher
->dispatch
('kernel.controller', object(FilterControllerEvent))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 128 -
at
TraceableEventDispatcher
->dispatch
('kernel.controller', object(FilterControllerEvent))
in app/bootstrap.php.cache at line 3153 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3115 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3269 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2480 -
at
Kernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 491 -
at
HttpCache
->forward
(object(Request), true, object(Response))
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60 -
at
HttpCache
->forward
(object(Request), true, object(Response))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 393 -
at
HttpCache
->validate
(object(Request), object(Response), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 350 -
at
HttpCache
->lookup
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 210 -
at
HttpCache
->handle
(object(Request))
in web/app.php at line 27