| @@ 244-251 (lines=8) @@ | ||
| 241 | * |
|
| 242 | * @return array|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
|
| 243 | */ |
|
| 244 | public static function style($style = '') |
|
| 245 | { |
|
| 246 | if (!empty($style)) { |
|
| 247 | return self::$style = array_merge(self::$style, (array) $style); |
|
| 248 | } |
|
| 249 | ||
| 250 | return view('admin::partials.style', ['style' => array_unique(self::$style)]); |
|
| 251 | } |
|
| 252 | ||
| 253 | /** |
|
| 254 | * @param string $html |
|
| @@ 258-265 (lines=8) @@ | ||
| 255 | * |
|
| 256 | * @return array|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
|
| 257 | */ |
|
| 258 | public static function html($html = '') |
|
| 259 | { |
|
| 260 | if (!empty($html)) { |
|
| 261 | return self::$html = array_merge(self::$html, (array) $html); |
|
| 262 | } |
|
| 263 | ||
| 264 | return view('admin::partials.html', ['html' => array_unique(self::$html)]); |
|
| 265 | } |
|
| 266 | ||
| 267 | /** |
|
| 268 | * @param string $key |
|