Skip to content

Kirby 6.0.0

$modelCommit->call()

Handles the full call of the given action, runs the before and after hooks and updates the state of the given model.

$modelCommit->call(array $arguments, Closure $callback): mixed

Parameters

Name Type Default
$argumentsrequired array<string, mixed> no default value
$callbackrequired Closure no default value

Return type

mixed

Parent class

Kirby\Cms\ModelCommit