初始化仓库
This commit is contained in:
26
admin/components/UI/Widget/Item.php
Normal file
26
admin/components/UI/Widget/Item.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace admin\components\UI\Widget;
|
||||
|
||||
use admin\components\UI\Tools;
|
||||
|
||||
/**
|
||||
* 项目回调
|
||||
* @package backend\components\UI\Widget
|
||||
*/
|
||||
class Item
|
||||
{
|
||||
public $params;
|
||||
|
||||
public function __construct($params = [])
|
||||
{
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
public function __call($method, $arguments)
|
||||
{
|
||||
$this->{$method}[] = $arguments;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user