class Observer

Constants

SKIP_ONCE

Validation skipping flag.

SKIP_ALWAYS

Validation skipping flag.

Methods

void|false
creating(Validable $model)

Halt creating if model doesn't pass validation.

void|false
updating(Validable $model)

Updating event handler.

void
saved(Validable $model)

Enable validation for the model if skipped only once.

Details

at line 27
void|false creating(Validable $model)

Halt creating if model doesn't pass validation.

Parameters

Validable $model

Return Value

void|false

at line 40
void|false updating(Validable $model)

Updating event handler.

Parameters

Validable $model

Return Value

void|false

at line 75
void saved(Validable $model)

Enable validation for the model if skipped only once.

Parameters

Validable $model

Return Value

void