|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / generated / code / Magento / Framework / Session / Generic / |
Filename | /home/dev2.destoffenstraat.com/generated/code/Magento/Framework/Session/Generic/Proxy.php |
Size | 4.78 kb |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 26-Jul-2025 18:07 |
Last accessed | 23-Aug-2025 02:07 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
namespace Magento\Framework\Session\Generic;
/**
* Proxy class for @see \Magento\Framework\Session\Generic
*/
class Proxy extends \Magento\Framework\Session\Generic implements \Magento\Framework\ObjectManager\NoninterceptableInterface
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;
/**
* Proxied instance name
*
* @var string
*/
protected $_instanceName = null;
/**
* Proxied instance
*
* @var \Magento\Framework\Session\Generic
*/
protected $_subject = null;
/**
* Instance shareability flag
*
* @var bool
*/
protected $_isShared = null;
/**
* Proxy constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
* @param bool $shared
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Magento\\Framework\\Session\\Generic', $shared = true)
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
$this->_isShared = $shared;
}
/**
* @return array
*/
public function __sleep()
{
return ['_subject', '_isShared', '_instanceName'];
}
/**
* Retrieve ObjectManager from global scope
*/
public function __wakeup()
{
$this->_objectManager = \Magento\Framework\App\ObjectManager::getInstance();
}
/**
* Clone proxied instance
*/
public function __clone()
{
$this->_subject = clone $this->_getSubject();
}
/**
* Get proxied instance
*
* @return \Magento\Framework\Session\Generic
*/
protected function _getSubject()
{
if (!$this->_subject) {
$this->_subject = true === $this->_isShared
? $this->_objectManager->get($this->_instanceName)
: $this->_objectManager->create($this->_instanceName);
}
return $this->_subject;
}
/**
* {@inheritdoc}
*/
public function writeClose()
{
return $this->_getSubject()->writeClose();
}
/**
* {@inheritdoc}
*/
public function __call($method, $args)
{
return $this->_getSubject()->__call($method, $args);
}
/**
* {@inheritdoc}
*/
public function start()
{
return $this->_getSubject()->start();
}
/**
* {@inheritdoc}
*/
public function isSessionExists()
{
return $this->_getSubject()->isSessionExists();
}
/**
* {@inheritdoc}
*/
public function getData($key = '', $clear = false)
{
return $this->_getSubject()->getData($key, $clear);
}
/**
* {@inheritdoc}
*/
public function getSessionId()
{
return $this->_getSubject()->getSessionId();
}
/**
* {@inheritdoc}
*/
public function getName()
{
return $this->_getSubject()->getName();
}
/**
* {@inheritdoc}
*/
public function setName($name)
{
return $this->_getSubject()->setName($name);
}
/**
* {@inheritdoc}
*/
public function destroy(?array $options = null)
{
return $this->_getSubject()->destroy($options);
}
/**
* {@inheritdoc}
*/
public function clearStorage()
{
return $this->_getSubject()->clearStorage();
}
/**
* {@inheritdoc}
*/
public function getCookieDomain()
{
return $this->_getSubject()->getCookieDomain();
}
/**
* {@inheritdoc}
*/
public function getCookiePath()
{
return $this->_getSubject()->getCookiePath();
}
/**
* {@inheritdoc}
*/
public function getCookieLifetime()
{
return $this->_getSubject()->getCookieLifetime();
}
/**
* {@inheritdoc}
*/
public function setSessionId($sessionId)
{
return $this->_getSubject()->setSessionId($sessionId);
}
/**
* {@inheritdoc}
*/
public function getSessionIdForHost($urlHost)
{
return $this->_getSubject()->getSessionIdForHost($urlHost);
}
/**
* {@inheritdoc}
*/
public function isValidForHost($host)
{
return $this->_getSubject()->isValidForHost($host);
}
/**
* {@inheritdoc}
*/
public function isValidForPath($path)
{
return $this->_getSubject()->isValidForPath($path);
}
/**
* {@inheritdoc}
*/
public function regenerateId()
{
return $this->_getSubject()->regenerateId();
}
/**
* {@inheritdoc}
*/
public function expireSessionCookie()
{
return $this->_getSubject()->expireSessionCookie();
}
}
namespace Magento\Framework\Session\Generic;
/**
* Proxy class for @see \Magento\Framework\Session\Generic
*/
class Proxy extends \Magento\Framework\Session\Generic implements \Magento\Framework\ObjectManager\NoninterceptableInterface
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;
/**
* Proxied instance name
*
* @var string
*/
protected $_instanceName = null;
/**
* Proxied instance
*
* @var \Magento\Framework\Session\Generic
*/
protected $_subject = null;
/**
* Instance shareability flag
*
* @var bool
*/
protected $_isShared = null;
/**
* Proxy constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
* @param bool $shared
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Magento\\Framework\\Session\\Generic', $shared = true)
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
$this->_isShared = $shared;
}
/**
* @return array
*/
public function __sleep()
{
return ['_subject', '_isShared', '_instanceName'];
}
/**
* Retrieve ObjectManager from global scope
*/
public function __wakeup()
{
$this->_objectManager = \Magento\Framework\App\ObjectManager::getInstance();
}
/**
* Clone proxied instance
*/
public function __clone()
{
$this->_subject = clone $this->_getSubject();
}
/**
* Get proxied instance
*
* @return \Magento\Framework\Session\Generic
*/
protected function _getSubject()
{
if (!$this->_subject) {
$this->_subject = true === $this->_isShared
? $this->_objectManager->get($this->_instanceName)
: $this->_objectManager->create($this->_instanceName);
}
return $this->_subject;
}
/**
* {@inheritdoc}
*/
public function writeClose()
{
return $this->_getSubject()->writeClose();
}
/**
* {@inheritdoc}
*/
public function __call($method, $args)
{
return $this->_getSubject()->__call($method, $args);
}
/**
* {@inheritdoc}
*/
public function start()
{
return $this->_getSubject()->start();
}
/**
* {@inheritdoc}
*/
public function isSessionExists()
{
return $this->_getSubject()->isSessionExists();
}
/**
* {@inheritdoc}
*/
public function getData($key = '', $clear = false)
{
return $this->_getSubject()->getData($key, $clear);
}
/**
* {@inheritdoc}
*/
public function getSessionId()
{
return $this->_getSubject()->getSessionId();
}
/**
* {@inheritdoc}
*/
public function getName()
{
return $this->_getSubject()->getName();
}
/**
* {@inheritdoc}
*/
public function setName($name)
{
return $this->_getSubject()->setName($name);
}
/**
* {@inheritdoc}
*/
public function destroy(?array $options = null)
{
return $this->_getSubject()->destroy($options);
}
/**
* {@inheritdoc}
*/
public function clearStorage()
{
return $this->_getSubject()->clearStorage();
}
/**
* {@inheritdoc}
*/
public function getCookieDomain()
{
return $this->_getSubject()->getCookieDomain();
}
/**
* {@inheritdoc}
*/
public function getCookiePath()
{
return $this->_getSubject()->getCookiePath();
}
/**
* {@inheritdoc}
*/
public function getCookieLifetime()
{
return $this->_getSubject()->getCookieLifetime();
}
/**
* {@inheritdoc}
*/
public function setSessionId($sessionId)
{
return $this->_getSubject()->setSessionId($sessionId);
}
/**
* {@inheritdoc}
*/
public function getSessionIdForHost($urlHost)
{
return $this->_getSubject()->getSessionIdForHost($urlHost);
}
/**
* {@inheritdoc}
*/
public function isValidForHost($host)
{
return $this->_getSubject()->isValidForHost($host);
}
/**
* {@inheritdoc}
*/
public function isValidForPath($path)
{
return $this->_getSubject()->isValidForPath($path);
}
/**
* {@inheritdoc}
*/
public function regenerateId()
{
return $this->_getSubject()->regenerateId();
}
/**
* {@inheritdoc}
*/
public function expireSessionCookie()
{
return $this->_getSubject()->expireSessionCookie();
}
}