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

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

Remove an element from the context stack. Is the reverse operation to pushContext().
public popContext ( ) : void
Результат void
    public function popContext()
    {
        if (count($this->eventContext) > 0) {
            array_pop($this->eventContext);
        } else {
            throw new \InvalidArgumentException('popContext() can only be called if the context has been pushed beforehand.', 1415354224);
        }
    }