Documentation

InvalidRouteErrorHandler

Error handler for unexisting route

Tags
author

gdever

Table of Contents

$invalidRouteErrorHandler  : callable|null
Method wich handles invalid route error
getNoProcessorErrorHandler()  : callable
Method returns error handler
noProcessorFoundErrorHandler()  : void
Method processes no processor found error
setNoProcessorFoundErrorHandler()  : callable|null
Method sets InvalidRouteErrorHandler function
getAllRoutesTrace()  : string
Method rturns all available routes

Properties

$invalidRouteErrorHandler

Method wich handles invalid route error

private callable|null $invalidRouteErrorHandler = null

Methods

getNoProcessorErrorHandler()

Method returns error handler

public getNoProcessorErrorHandler() : callable
Return values
callable

noProcessorFoundErrorHandler()

Method processes no processor found error

public noProcessorFoundErrorHandler(string $route) : void
Parameters
$route : string

route

Return values
void

setNoProcessorFoundErrorHandler()

Method sets InvalidRouteErrorHandler function

public setNoProcessorFoundErrorHandler(callable $function) : callable|null
Parameters
$function : callable

error handler

Return values
callable|null

old error handler

getAllRoutesTrace()

Method rturns all available routes

protected abstract getAllRoutesTrace() : string
Tags
psalm-suppress

PossiblyUndefinedArrayOffset

Return values
string

trace

Search results

    Яндекс.Метрика