private function getContainerConfiguration()
    {
        $containerName = $this->getRequest()->getParam('search_container_preview');

        $containerConfig = $this->containerConfigFactory->create(
            ['containerName' => $containerName, 'storeId' => $this->getOptimizer()->getStoreId()]
        );

        return $containerConfig;
    }
private function getContainerConfiguration()
    {
        $containerName = $this->getRequest()->getParam('search_container_preview');

        $containerConfig = $this->containerConfigFactory->create(
            ['containerName' => $containerName, 'storeId' => $this->getOptimizer()->getStoreId()]
        );

        return $containerConfig;
    }
private function getContainerConfiguration ( ) { $ containerName = $ this -> getRequest ( ) -> getParam ( 'search_container_preview' ) ; $ containerConfig = $ this -> containerConfigFactory -> create ( [ 'containerName' => $ containerName , 'storeId' => $ this -> getOptimizer ( ) -> getStoreId ( ) ] ) ; return $ containerConfig ; }
Return the container to preview.

@return ContainerConfigurationInterface
Return the container to preview .