Neos\Neos\EventLog\Domain\Service\EventEmittingService::getCurrentContext PHP 메소드

getCurrentContext() 보호된 메소드

The current context-event or NULL if none exists currently.
protected getCurrentContext ( ) : Event | null
리턴 Neos\Neos\EventLog\Domain\Model\Event | null
    protected function getCurrentContext()
    {
        if (count($this->eventContext) > 0) {
            return end($this->eventContext);
        } else {
            return null;
        }
    }