_init(\Magento\Search\Model\ResourceModel\SynonymReader::class); } /** * Load synonyms by user query phrase in context of current store view * * @param string $phrase * @return $this * @throws \Magento\Framework\Exception\LocalizedException * @since 100.1.0 */ public function loadByPhrase($phrase) { $this->_getResource()->loadByPhrase($this, strtolower($phrase)); $this->_afterLoad(); $this->setOrigData(); return $this; } }