Skip to content

Commit

Permalink
commit 3
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasaab committed Apr 5, 2019
1 parent 402dae4 commit c67c415
Show file tree
Hide file tree
Showing 53,154 changed files with 124,656 additions and 527 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?php
namespace Magento\Backend\Controller\Adminhtml\Noroute\Index;

/**
* Interceptor class for @see \Magento\Backend\Controller\Adminhtml\Noroute\Index
*/
class Interceptor extends \Magento\Backend\Controller\Adminhtml\Noroute\Index implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;

public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory)
{
$this->___init();
parent::__construct($context, $resultPageFactory);
}

/**
* {@inheritdoc}
*/
public function execute()
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'execute');
if (!$pluginInfo) {
return parent::execute();
} else {
return $this->___callPlugins('execute', func_get_args(), $pluginInfo);
}
}

/**
* {@inheritdoc}
*/
public function dispatch(\Magento\Framework\App\RequestInterface $request)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'dispatch');
if (!$pluginInfo) {
return parent::dispatch($request);
} else {
return $this->___callPlugins('dispatch', func_get_args(), $pluginInfo);
}
}

/**
* {@inheritdoc}
*/
public function _processUrlKeys()
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, '_processUrlKeys');
if (!$pluginInfo) {
return parent::_processUrlKeys();
} else {
return $this->___callPlugins('_processUrlKeys', func_get_args(), $pluginInfo);
}
}

/**
* {@inheritdoc}
*/
public function getUrl($route = '', $params = [])
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getUrl');
if (!$pluginInfo) {
return parent::getUrl($route, $params);
} else {
return $this->___callPlugins('getUrl', func_get_args(), $pluginInfo);
}
}

/**
* {@inheritdoc}
*/
public function getActionFlag()
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getActionFlag');
if (!$pluginInfo) {
return parent::getActionFlag();
} else {
return $this->___callPlugins('getActionFlag', func_get_args(), $pluginInfo);
}
}

/**
* {@inheritdoc}
*/
public function getRequest()
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getRequest');
if (!$pluginInfo) {
return parent::getRequest();
} else {
return $this->___callPlugins('getRequest', func_get_args(), $pluginInfo);
}
}

/**
* {@inheritdoc}
*/
public function getResponse()
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getResponse');
if (!$pluginInfo) {
return parent::getResponse();
} else {
return $this->___callPlugins('getResponse', func_get_args(), $pluginInfo);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
namespace Magento\Catalog\Api\Data;

/**
* Extension class for @see \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
*/
class ProductAttributeMediaGalleryEntryExtension extends \Magento\Framework\Api\AbstractSimpleObject implements ProductAttributeMediaGalleryEntryExtensionInterface
{
/**
* @return \Magento\Framework\Api\Data\VideoContentInterface|null
*/
public function getVideoContent()
{
return $this->_get('video_content');
}

/**
* @param \Magento\Framework\Api\Data\VideoContentInterface $videoContent
* @return $this
*/
public function setVideoContent(\Magento\Framework\Api\Data\VideoContentInterface $videoContent)
{
$this->setData('video_content', $videoContent);
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
namespace Magento\Catalog\Api\Data;

/**
* Factory class for @see \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtension
*/
class ProductAttributeMediaGalleryEntryExtensionFactory
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;

/**
* Instance name to create
*
* @var string
*/
protected $_instanceName = null;

/**
* Factory constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Magento\\Catalog\\Api\\Data\\ProductAttributeMediaGalleryEntryExtension')
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
}

/**
* Create class instance with specified parameters
*
* @param array $data
* @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryExtension
*/
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
namespace Magento\Catalog\Api\Data;

/**
* ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
*/
interface ProductAttributeMediaGalleryEntryExtensionInterface extends \Magento\Framework\Api\ExtensionAttributesInterface
{
/**
* @return \Magento\Framework\Api\Data\VideoContentInterface|null
*/
public function getVideoContent();

/**
* @param \Magento\Framework\Api\Data\VideoContentInterface $videoContent
* @return $this
*/
public function setVideoContent(\Magento\Framework\Api\Data\VideoContentInterface $videoContent);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
namespace Magento\Catalog\Api\Data;

/**
* Factory class for @see \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
*/
class ProductAttributeMediaGalleryEntryInterfaceFactory
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;

/**
* Instance name to create
*
* @var string
*/
protected $_instanceName = null;

/**
* Factory constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Magento\\Catalog\\Api\\Data\\ProductAttributeMediaGalleryEntryInterface')
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
}

/**
* Create class instance with specified parameters
*
* @param array $data
* @return \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface
*/
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?php
namespace Magento\Catalog\Api\Data;

/**
* ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductInterface
*/
interface ProductExtensionInterface extends \Magento\Framework\Api\ExtensionAttributesInterface
{
/**
* @return int[]|null
*/
public function getWebsiteIds();

/**
* @param int[] $websiteIds
* @return $this
*/
public function setWebsiteIds($websiteIds);

/**
* @return \Magento\Catalog\Api\Data\CategoryLinkInterface[]|null
*/
public function getCategoryLinks();

/**
* @param \Magento\Catalog\Api\Data\CategoryLinkInterface[] $categoryLinks
* @return $this
*/
public function setCategoryLinks($categoryLinks);

/**
* @return \Magento\Bundle\Api\Data\OptionInterface[]|null
*/
public function getBundleProductOptions();

/**
* @param \Magento\Bundle\Api\Data\OptionInterface[] $bundleProductOptions
* @return $this
*/
public function setBundleProductOptions($bundleProductOptions);

/**
* @return \Magento\CatalogInventory\Api\Data\StockItemInterface|null
*/
public function getStockItem();

/**
* @param \Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem
* @return $this
*/
public function setStockItem(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem);

/**
* @return \Magento\ConfigurableProduct\Api\Data\OptionInterface[]|null
*/
public function getConfigurableProductOptions();

/**
* @param \Magento\ConfigurableProduct\Api\Data\OptionInterface[] $configurableProductOptions
* @return $this
*/
public function setConfigurableProductOptions($configurableProductOptions);

/**
* @return int[]|null
*/
public function getConfigurableProductLinks();

/**
* @param int[] $configurableProductLinks
* @return $this
*/
public function setConfigurableProductLinks($configurableProductLinks);

/**
* @return \Magento\Downloadable\Api\Data\LinkInterface[]|null
*/
public function getDownloadableProductLinks();

/**
* @param \Magento\Downloadable\Api\Data\LinkInterface[] $downloadableProductLinks
* @return $this
*/
public function setDownloadableProductLinks($downloadableProductLinks);

/**
* @return \Magento\Downloadable\Api\Data\SampleInterface[]|null
*/
public function getDownloadableProductSamples();

/**
* @param \Magento\Downloadable\Api\Data\SampleInterface[] $downloadableProductSamples
* @return $this
*/
public function setDownloadableProductSamples($downloadableProductSamples);
}
26 changes: 26 additions & 0 deletions generated/code/Magento/Catalog/Api/Data/ProductLinkExtension.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
namespace Magento\Catalog\Api\Data;

/**
* Extension class for @see \Magento\Catalog\Api\Data\ProductLinkInterface
*/
class ProductLinkExtension extends \Magento\Framework\Api\AbstractSimpleObject implements ProductLinkExtensionInterface
{
/**
* @return float|null
*/
public function getQty()
{
return $this->_get('qty');
}

/**
* @param float $qty
* @return $this
*/
public function setQty($qty)
{
$this->setData('qty', $qty);
return $this;
}
}
Loading

0 comments on commit c67c415

Please sign in to comment.