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