setLanguages example

// TODO: prefetch     /** * @param SyncOperation[] $operations * * @throw InvalidSyncOperationException */
    public function sync(array $operations, WriteContext $context): WriteResult
    {
        $commandQueue = new WriteCommandQueue();

        $context->setLanguages(
            $this->languageLoader->loadLanguages()
        );

        $writes = [];
        $notFound = [];
        $deletes = [];

        foreach ($operations as $operation) {
            if (!$operation instanceof SyncOperation) {
                continue;
            }

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