public function getSolr() { if (empty($this->solr)) { $this->solr = $this->getContainer()->get(Solr::class, [null, ['site' => $this]]); } return $this->solr; }