init
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
namespace Magento\Framework\View;
|
||||
|
||||
/**
|
||||
* Dummy layout argument updater model
|
||||
*/
|
||||
class LayoutArgumentSimpleUpdater implements \Magento\Framework\View\Layout\Argument\UpdaterInterface
|
||||
{
|
||||
/**
|
||||
* Update specified argument
|
||||
*
|
||||
* @param int $argument
|
||||
* @return int
|
||||
*/
|
||||
public function update($argument)
|
||||
{
|
||||
$argument++;
|
||||
return $argument;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user