One Hat Cyber Team
Your IP :
3.145.173.144
Server IP :
104.21.112.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
vendor
/
facade
/
ignition
/
src
/
View File Name :
Ignition.php
<?php namespace Facade\Ignition; use Closure; use Facade\Ignition\Tabs\Tab; class Ignition { /** @var Closure[] */ public static $callBeforeShowingErrorPage = []; /** @var array */ public static $tabs = []; public static function tab(Tab $tab) { static::$tabs[] = $tab; } public static function styles(): array { return collect(static::$tabs)->flatMap(function ($tab) { return $tab->styles; }) ->unique() ->toArray(); } public static function scripts(): array { return collect(static::$tabs)->flatMap(function ($tab) { return $tab->scripts; }) ->unique() ->toArray(); } public static function registerAssets(Closure $callable) { static::$callBeforeShowingErrorPage[] = $callable; } }