Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Elastica Bundle Laravel Package

bok/elastica-bundle

View on GitHub
Deep Wiki
Context7

Hints on result hydration

When using Doctrine as your persistence driver, you may configure FOSElasticaBundle to use query hints when hydrating your objects.

To configure FOSElasticaBundle to use hints when hydrating objects, add an entry to the hints array of elastica_to_model_transformer configuration section. Each entry must contain a name of the hint and a value to use.

fos_elastica:
    indexes:
        user:
            persistence:
                elastica_to_model_transformer:
                    hints:
                        - {name: 'doctrine.customOutputWalker', value: 'Gedmo\Translatable\Query\TreeWalker\TranslationWalker'}

This is especially useful if you're using features that require additional information when hydrating an object (like the translatable behavior from Doctrine2 behavioral extensions) and you don't want Doctrine to issue additional queries to retrieve it.

This option is only available for the ORM driver.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
graham-campbell/flysystem
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
directorytree/opensearch-client
directorytree/opensearch-adapter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin