public function setServiceContainer($value = \null): ContainerMediatorInterface
    {
        if (\null === $value) {
            $value = new Container();
        }
        if (!$value instanceof Container) {
            $mess = \sprintf(
                'Must be an instance of Pimple Container but given %s',
                \gettype($value)
            );
            throw new \InvalidArgumentException($mess);
        }
        $this->serviceContainer = $value;
        return $this;
    }