init
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\Store\Model;
|
||||
|
||||
/**
|
||||
* Dummy layout argument data source object
|
||||
*/
|
||||
class DataSource extends \Magento\Framework\Data\Collection
|
||||
{
|
||||
/**
|
||||
* Property which stores all updater calls
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $_calls = [];
|
||||
|
||||
/**
|
||||
* Return current updater calls
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getUpdaterCall()
|
||||
{
|
||||
return $this->_calls;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set updater calls
|
||||
*
|
||||
* @param array $calls
|
||||
* @return \Magento\Store\Model\DataSource
|
||||
*/
|
||||
public function setUpdaterCall(array $calls)
|
||||
{
|
||||
$this->_calls = $calls;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user