public firstEvent ( ) : Eloquent\Phony\Event\Event | ||
return | Eloquent\Phony\Event\Event | The event. |
public function firstEvent()
{
if (empty($this->calls)) {
throw new UndefinedEventException(0);
}
return $this->calls[0];
}