CrashReport
    
            
            in package
            
        
    
    
    
        
            La clase que se encarga de gestionar los errores fatales.
Table of Contents
- getErrorInfo() : array<string|int, mixed>
 - init() : void
 - newToken() : string
 - save() : void
 - shutdown() : void
 - validateToken() : bool
 - getErrorFragment() : string
 - formatErrorMessage() : string
 - trans() : string
 
Methods
getErrorInfo()
    public
            static        getErrorInfo(int $code, string $message, string $file, int $line) : array<string|int, mixed>
        
        Parameters
- $code : int
 - $message : string
 - $file : string
 - $line : int
 
Return values
array<string|int, mixed> —init()
    public
            static        init() : void
        
    
    
        Return values
void —newToken()
    public
            static        newToken() : string
        
    
    
        Return values
string —save()
    public
            static        save(array<string|int, mixed> $info) : void
        
        Parameters
- $info : array<string|int, mixed>
 
Return values
void —shutdown()
    public
            static        shutdown() : void
        
    
    
        Return values
void —validateToken()
    public
            static        validateToken(string $token) : bool
        
        Parameters
- $token : string
 
Return values
bool —getErrorFragment()
    protected
            static        getErrorFragment(mixed $file, mixed $line[, mixed $linesToShow = 10 ]) : string
        
        Parameters
- $file : mixed
 - $line : mixed
 - $linesToShow : mixed = 10
 
Return values
string —formatErrorMessage()
    private
            static        formatErrorMessage(string $message) : string
        
        Parameters
- $message : string
 
Return values
string —trans()
    private
            static        trans(string $code) : string
        
        Parameters
- $code : string