X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar/vendor/facade/ignition/src
home
/
gfecatvj
/
sites
/
realesbar
/
vendor
/
facade
/
ignition
/
src
/
📁
..
📁
Actions
📁
Commands
📁
Context
📁
DumpRecorder
📁
ErrorPage
📁
Exceptions
📁
Facades
📁
Http
📄
Ignition.php
(876 B)
📄
IgnitionConfig.php
(1.89 KB)
📄
IgnitionServiceProvider.php
(14.15 KB)
📁
LogRecorder
📁
Logger
📁
Middleware
📁
QueryRecorder
📁
SolutionProviders
📁
Solutions
📁
Support
📁
Tabs
📁
Views
📄
helpers.php
(710 B)
Editing: 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; } }
Upload File
Create Folder