Weave 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.
thomas-0816/doctrine-dbal-duckdb
moyisoft/laravel-admin
oxygen/mod-pages
oxygen/mod-import-export
oxygen/mod-media
ksoft/laravel-contentbuilderjs
ourgoldpackages/exchange
mikkimike/laravel-exchange1c
wandesnet/mercadopago-laravel
tsfcorp/email
larafony/core
laravel-enso/currencies
tartan/laravel-online-payment
gam/laravel-sat-catalogs
cloudcreativity/laravel-stripe
abdulelahragih/querybuilder
wedevbr/celcoin-laravel
surazdott/nepali-date
devsquad-cockpit/laravel
coding-socks/laravel-upload-handler