src/Analyse/Callback/AbstractCallback.php
protected function dispatchEventWithModel($name, Model $model)
    {
        $this->pool->eventService->dispatch(
            static::$eventPrefix . '::' . $name,
            $this,
            $model
        );

        return $model;
    }
protected function dispatchEventWithModel($name, Model $model)
    {
        $this->pool->eventService->dispatch(
            static::$eventPrefix . '::' . $name,
            $this,
            $model
        );

        return $model;
    }
protected function dispatchEventWithModel ( $ name , Model $ model ) { $ this -> pool -> eventService -> dispatch ( static :: $ eventPrefix . '::' . $ name , $ this , $ model ) ; return $ model ; }
Dispatches an event where the modes is available.

@param string $name
The name of the event.
@param Model $model
The model so far.

@return Model
Return the model for chaining.
Dispatches an event where the modes is available .