Neos\Neos\EventLog\Domain\Service\EventEmittingService::pushContext PHP Метод

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

Push the last-generated event onto the context, nesting all further generated events underneath the top-level one.
public pushContext ( ) : void
Результат void
    public function pushContext()
    {
        if ($this->lastGeneratedEvent === null) {
            throw new \InvalidArgumentException('pushContext() can only be called directly after an invocation of emit().', 1415353980);
        }
        $this->eventContext[] = $this->lastGeneratedEvent;
    }