mini\Hooks\StateMachine::defer() Method

protected static

Signature

protected static function defer(mini\Hooks\Dispatcher $dispatcher, Closure $listener, array $args): void

Parameters

Name Type Default Description
$dispatcher mini\Hooks\Dispatcher required Documentation missing
$listener Closure required Documentation missing
$args array required Documentation missing

Returns

void

Documentation

Schedule a function to run when runEvents() is called

Inherited From

mini\Hooks\Dispatcher

Source

src/Hooks/Dispatcher.php:163-172