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