Locker\Repository\Base\EloquentRepository::fire PHP Метод

fire() защищенный Метод

Fires an event.
protected fire ( boolean $allow, String $event, array $opts, array $extra )
$allow boolean Determines if the event is allowed to fire.
$event String Name of the event to fire.
$opts array
$extra array
    protected function fire($allow, $event, array $opts, array $extra)
    {
        if ($allow) {
            \Event::fire(ltrim($this->model, '\\') . '.' . $event, [array_merge($opts, $extra)]);
        }
        return $allow;
    }