private function initializeMediator()
    {
        if (is_null($this->mediator)) {
            $this->mediator = $this->getObjectManager()->get(MediatorInterface::class);
        }
    }
private function initializeMediator()
    {
        if (is_null($this->mediator)) {
            $this->mediator = $this->getObjectManager()->get(MediatorInterface::class);
        }
    }
private function initializeMediator ( ) { if ( is_null ( $ this -> mediator ) ) { $ this -> mediator = $ this -> getObjectManager ( ) -> get ( MediatorInterface :: class ) ; } }
Initializes a mediator instance

@return void
Initializes a mediator instance