/** * Return the ES source document for the current product. * * @return array */ private function getDocumentSource() { return $this->product->getDocumentSource() ?: []; }