<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Support\Concern; trait HasFluentAttribute { protected function addFluentAttributeVariable($f0dxO) { if (!in_array($f0dxO, $this->fluentAttributes)) { $this->fluentAttributes[] = $f0dxO; } } protected function fluentAttributeVariables() { goto YJPQR; YJPQR: $zonFp = array(); goto IXgVT; HhXVK: return $zonFp; goto PGS54; IXgVT: foreach ($this->fluentAttributes as $Q0rz2) { $zonFp[$Q0rz2] = $this->{$Q0rz2}; } goto HhXVK; PGS54: } protected function isFluentAttribute($fVu6a) { return in_array($fVu6a, $this->fluentAttributes); } protected function setFluentAttribute($f0dxO, $HDpl6) { $this->{$f0dxO} = $HDpl6; } protected function fluentAttribute($fVu6a, $RSGSj) { goto IfP01; IfP01: if (!isset($RSGSj[0])) { return $this->{$fVu6a}; } goto ci9wV; NgyEJ: return $this; goto IEEYa; ci9wV: $this->{$fVu6a} = $RSGSj[0]; goto NgyEJ; IEEYa: } }