public function __construct() { $this->indexName = 'indexName'; $this->searchableBody = ['body' => 'test']; $this->searchableType = 'product'; $this->searchableId = 1; }