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