|
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 / GraphQl / Model / Query / |
Filename | /home/dev2.destoffenstraat.com/generated/code/Magento/GraphQl/Model/Query/ContextExtension.php |
Size | 1.33 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\GraphQl\Model\Query;
/**
* Extension class for @see \Magento\GraphQl\Model\Query\ContextInterface
*/
class ContextExtension extends \Magento\Framework\Api\AbstractSimpleObject implements ContextExtensionInterface
{
/**
* @return \Magento\Store\Api\Data\StoreInterface|null
*/
public function getStore()
{
return $this->_get('store');
}
/**
* @param \Magento\Store\Api\Data\StoreInterface $store
* @return $this
*/
public function setStore(\Magento\Store\Api\Data\StoreInterface $store)
{
$this->setData('store', $store);
return $this;
}
/**
* @return boolean|null
*/
public function getIsCustomer()
{
return $this->_get('is_customer');
}
/**
* @param boolean $isCustomer
* @return $this
*/
public function setIsCustomer($isCustomer)
{
$this->setData('is_customer', $isCustomer);
return $this;
}
/**
* @return integer|null
*/
public function getCustomerGroupId()
{
return $this->_get('customer_group_id');
}
/**
* @param integer $customerGroupId
* @return $this
*/
public function setCustomerGroupId($customerGroupId)
{
$this->setData('customer_group_id', $customerGroupId);
return $this;
}
}
namespace Magento\GraphQl\Model\Query;
/**
* Extension class for @see \Magento\GraphQl\Model\Query\ContextInterface
*/
class ContextExtension extends \Magento\Framework\Api\AbstractSimpleObject implements ContextExtensionInterface
{
/**
* @return \Magento\Store\Api\Data\StoreInterface|null
*/
public function getStore()
{
return $this->_get('store');
}
/**
* @param \Magento\Store\Api\Data\StoreInterface $store
* @return $this
*/
public function setStore(\Magento\Store\Api\Data\StoreInterface $store)
{
$this->setData('store', $store);
return $this;
}
/**
* @return boolean|null
*/
public function getIsCustomer()
{
return $this->_get('is_customer');
}
/**
* @param boolean $isCustomer
* @return $this
*/
public function setIsCustomer($isCustomer)
{
$this->setData('is_customer', $isCustomer);
return $this;
}
/**
* @return integer|null
*/
public function getCustomerGroupId()
{
return $this->_get('customer_group_id');
}
/**
* @param integer $customerGroupId
* @return $this
*/
public function setCustomerGroupId($customerGroupId)
{
$this->setData('customer_group_id', $customerGroupId);
return $this;
}
}