Illuminate\Database\Eloquent\Model::updating PHP Method

updating() public static method

Register an updating model event with the dispatcher.
public static updating ( Closure | string $callback, integer $priority ) : void
$callback Closure | string
$priority integer
return void
    public static function updating($callback, $priority = 0)
    {
        static::registerModelEvent('updating', $callback, $priority);
    }
Model