<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Support\Concern; trait HasArguments { private $arguments = array(); public function setArgument($XggBq, $ib3B9 = null) { if (is_array($XggBq)) { foreach ($XggBq as $F_a6B => $JiRHR) { $this->arguments[$F_a6B] = $JiRHR; } } else { $this->arguments[$XggBq] = $ib3B9; } } public function getArgument($XggBq, $TGBtt = null) { return isset($this->arguments[$XggBq]) ? $this->arguments[$XggBq] : $TGBtt; } }