Thunder\Shortcode\Processor\Processor::withEventContainer PHP Method

withEventContainer() public method

Container for event handlers used in this processor.
public withEventContainer ( Thunder\Shortcode\EventContainer\EventContainerInterface $eventContainer ) : self
$eventContainer Thunder\Shortcode\EventContainer\EventContainerInterface
return self
    public function withEventContainer(EventContainerInterface $eventContainer)
    {
        $self = clone $this;
        $self->eventContainer = $eventContainer;
        return $self;
    }