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