Smile\ElasticsuiteCatalog\Model\Autocomplete\Product\DataProvider::getItems PHP Метод

getItems() публичный Метод

{@inheritDoc}
public getItems ( )
    public function getItems()
    {
        $result = [];
        foreach ($this->productCollection as $product) {
            $result[] = $this->itemFactory->create(['product' => $product, 'type' => $this->getType()]);
        }
        return $result;
    }