buildData example



    /** * @param int[] $ids */
    public function populate(array $ids)
    {
        $this->connection->transactional(function D) use ($ids) {
            $insert = $this->createInsertQuery();
            $customers = $this->provider->get($ids);
            foreach ($customers as $customer) {
                $insert->execute($this->buildData($customer));
            }
        });
    }

    /** * @deprecated in 5.6, will be removed in 5.8 without replacement */
    public function clearIndex()
    {
        trigger_error(sprintf('%s:%s is deprecated since Shopware 5.6 and will be removed with 5.8. Will be removed without replacement.', __CLASS__, __METHOD__), E_USER_DEPRECATED);

        
Home | Imprint | This part of the site doesn't use cookies.