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