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