*/ public const array LOAD_PHASES = ['register', 'boot', 'compatibility']; /** No failure recorded. */ public const array NO_ERROR = ['error' => null, 'error_phase' => null, 'errored_at' => null]; /** * @return array */ protected function casts(): array { return [ 'enabled' => 'bool', 'errored_at' => 'datetime', ]; } }