Property | Type | Description | |
---|---|---|---|
$callback | name of the model method, which should be invoked or callback, which should be executed for the found model. The signature of the callable should be: php function ($model) { } | ||
$flash | flash message to be set on success. |
Method | Description | |
---|---|---|
run ( string $id ) : mixed | Invokes configured method on the specified model. |
public $callback |