public function get()
    {
        $identities = [];
        $origData   = $this->optimizer->getOrigData();
        $containers = $this->optimizer->getData('search_container') ?? [];

        if (!$this->optimizer->isObjectNew()) {
            $containers = array_unique(
                array_keys(array_merge($this->optimizer->getSearchContainers(), $origData['search_containers'] ?? []))
            );
        }

        if (in_array('quick_search_container', $containers)) {
            $identities = array_merge($identities, $this->getSearchQueryIdentities());
        }

        if (in_array('catalog_view_container', $containers)) {
            $identities = array_merge($identities, $this->getCategoryIdentities());
        }

        return $identities;
    }
public function get()
    {
        $identities = [];
        $origData   = $this->optimizer->getOrigData();
        $containers = $this->optimizer->getData('search_container') ?? [];

        if (!$this->optimizer->isObjectNew()) {
            $containers = array_unique(
                array_keys(array_merge($this->optimizer->getSearchContainers(), $origData['search_containers'] ?? []))
            );
        }

        if (in_array('quick_search_container', $containers)) {
            $identities = array_merge($identities, $this->getSearchQueryIdentities());
        }

        if (in_array('catalog_view_container', $containers)) {
            $identities = array_merge($identities, $this->getCategoryIdentities());
        }

        return $identities;
    }
public function get ( ) { $ identities = [ ] ; $ origData = $ this -> optimizer -> getOrigData ( ) ; $ containers = $ this -> optimizer -> getData ( 'search_container' ) ?? [ ] ; if ( ! $ this -> optimizer -> isObjectNew ( ) ) { $ containers = array_unique ( array_keys ( array_merge ( $ this -> optimizer -> getSearchContainers ( ) , $ origData [ 'search_containers' ] ?? [ ] ) ) ) ; } if ( in_array ( 'quick_search_container' , $ containers ) ) { $ identities = array_merge ( $ identities , $ this -> getSearchQueryIdentities ( ) ) ; } if ( in_array ( 'catalog_view_container' , $ containers ) ) { $ identities = array_merge ( $ identities , $ this -> getCategoryIdentities ( ) ) ; } return $ identities ; }
Get Limitation identities for the current optimizer.

@return array
Get Limitation identities for the current optimizer .