protected function fireMoveEvent($event, $halt = true)
{
if (!isset(static::$dispatcher)) {
return true;
}
// Basically the same as \Illuminate\Database\Eloquent\Model->fireModelEvent
// but we relay the event into the node instance.
$event = "eloquent.{$event}: " . get_class($this->node);
$method = $halt ? 'until' : 'fire';
return static::$dispatcher->{$method}($event, $this->node);
}