<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Widget; use Illuminate\Contracts\Support\Renderable; class Box extends AbstractWidget { protected $view = 'modstart::widget.box'; protected $title = ''; protected $classList = ''; protected $content = ''; protected $tools = array(); public function __construct($BWI89, $Cq64_ = '', $j2Ar1 = '') { goto HkO6Z; HkO6Z: parent::__construct(); goto Tlplr; vSqsT: if ($j2Ar1) { $this->classList($j2Ar1); } goto RQ6VF; Tlplr: if ($BWI89) { $this->content($BWI89); } goto AeooE; AeooE: if ($Cq64_) { $this->title($Cq64_); } goto vSqsT; RQ6VF: } public static function make($BWI89, $Cq64_ = '', $j2Ar1 = '') { return new Box($BWI89, $Cq64_, $j2Ar1); } public function content($BWI89) { $this->content = $BWI89; return $this; } public function title($Cq64_) { $this->title = $Cq64_; return $this; } public function classList($j2Ar1) { $this->classList = $j2Ar1; return $this; } public function tool($m3I3U) { $this->tools[] = $this->toString($m3I3U); return $this; } public function variables() { return array('title' => $this->title, 'classList' => $this->classList, 'content' => $this->toString($this->content), 'tools' => $this->tools); } }