Eloquent\Phony\Event\EventSequence::firstEvent PHP Метод

firstEvent() публичный Метод

Get the first event.
public firstEvent ( ) : Eloquent\Phony\Event\Event
Результат Eloquent\Phony\Event\Event The event.
    public function firstEvent()
    {
        if (empty($this->events)) {
            throw new UndefinedEventException(0);
        }
        return $this->events[0];
    }