LMongo\Eloquent\Model::updating PHP Method

updating() public static method

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