Documentation

DispatchableInterface
in

Dispatchable interface

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
5.0.0

Table of Contents

Methods

dispatch()  : void
Dispatch action
getDefaultAction()  : string
Get the default action
setDefaultAction()  : static
Set the default action

Methods

dispatch()

Dispatch action

public dispatch([string|null $action = null ][, array<string|int, mixed>|null $params = null ]) : void
Parameters
$action : string|null = null
$params : array<string|int, mixed>|null = null

getDefaultAction()

Get the default action

public getDefaultAction() : string
Return values
string

setDefaultAction()

Set the default action

public setDefaultAction(string $default) : static
Parameters
$default : string
Return values
static

        
On this page

Search results