BlueScreen
class BlueScreen
Red BlueScreen.
Constants
| private MaxMessageLength | 
                     
  | 
            
Properties
| string[] | $info | ||
| string[] | $collapsePaths | ||
| $maxDepth | |||
| $maxLength | |||
| $maxItems | |||
| callable|null | $scrubber | ||
| string[] | $keysToHide | ||
| $showEnvironment | 
Methods
No description
Add custom panel as function (?\Throwable $e): ?array
Add action.
Add new file generator.
No description
Renders blue screen to file (if file exists, it will not be overwritten).
Returns syntax highlighted source code.
Returns syntax highlighted source code.
Returns highlighted line in HTML code.
Should a file be collapsed in stack trace?
No description
Details
        at line 53
                            
    __construct()
        
    
    No description
        at line 67
                            BlueScreen
    addPanel(callable $panel)
        
    
    Add custom panel as function (?\Throwable $e): ?array
        at line 81
                            BlueScreen
    addAction(callable $action)
        
    
    Add action.
        at line 93
                            BlueScreen
    addFileGenerator(callable $generator)
        
    
    Add new file generator.
        at line 100
                            BlueScreen
    addFiber(Fiber|Generator $fiber)
        
    
    No description
        at line 110
                            void
    render(Throwable $exception)
        
    
    Renders blue screen.
        at line 121
                            void
    renderToAjax(Throwable $exception, DeferredContent $defer)
        
    
    | internal | 
No description
        at line 130
                            bool
    renderToFile(Throwable $exception, string $file)
        
    
    Renders blue screen to file (if file exists, it will not be overwritten).
        at line 301
                static            string|null
    highlightFile(string $file, int $line, int $lines = 15, bool $php = true, int $column = 0)
        
    
    Returns syntax highlighted source code.
        at line 329
                static            string
    highlightPhp(string $source, int $line, int $lines = 15, int $column = 0)
        
    
    Returns syntax highlighted source code.
        at line 338
                static            string
    highlightLine(string $html, int $line, int $lines = 15, int $column = 0)
        
    
    Returns highlighted line in HTML code.
        at line 348
                            bool
    isCollapsed(string $file)
        
    
    | internal | 
Should a file be collapsed in stack trace?
        at line 363
                            Closure
    getDumper()
        
    
    | internal | 
No description
        at line 377
                            string
    formatMessage(Throwable $exception)
        
    
    No description
        at line 460
                static            string|null
    generateNewPhpFileContents(string $file, string|null $class = null)
        
    
    | internal | 
No description