Neuron-PHP

Filter
in package

Filters allow arbitrary code to be run before or after a route is executed.

Table of Contents

Properties

$_postFn  : Closure|null
$_preFn  : Closure|null

Methods

__construct()  : mixed
post()  : mixed|null
pre()  : mixed|null

Properties

$_postFn

private Closure|null $_postFn

$_preFn

private Closure|null $_preFn

Methods

__construct()

public __construct(Closure|null $preFn[, Closure|null $postFn = null ]) : mixed
Parameters
$preFn : Closure|null
$postFn : Closure|null = null

        
On this page

Search results