ltsecurityinc安防产品在线商城代码
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\Framework\View;
|
||||
|
||||
/**
|
||||
* Dummy layout argument updater model
|
||||
*/
|
||||
class LayoutArgumentObjectUpdater implements \Magento\Framework\View\Layout\Argument\UpdaterInterface
|
||||
{
|
||||
/**
|
||||
* Update specified argument
|
||||
*
|
||||
* @param \Magento\Framework\Data\Collection $argument
|
||||
* @return \Magento\Framework\Data\Collection
|
||||
*/
|
||||
public function update($argument)
|
||||
{
|
||||
$calls = $argument->getUpdaterCall();
|
||||
$calls[] = 'updater call';
|
||||
$argument->setUpdaterCall($calls);
|
||||
return $argument;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user