model.afterBoot

Called after the model is booted

Note: also triggered in Winter\Storm\Halcyon\Model

Example usage:

$model->bindEvent('model.afterBoot', function () use (\Winter\Storm\Database\Model $model) { \Log::info(get_class($model) . ' has booted'); });

Usage

Triggers

Class or file Line
Winter\Storm\Database\Model 256
Copyright © 2024 Winter CMS