2708 search results for Doctrine

... I can't run the bin/console doctrine:schema:update --dump-sql without getting an error: Compile Error: Cannot use Doctrine\ORM\Mapping as ORM because the name is already in use This is because I am using the following ...
Hey Daniyal, We don't focus too much on how to create relationships in this tutorial because this tutorial is about a different topic, specifically, how to work with Doctrine queries. So here we're mostly working on ...
Just an info, this dialog seems to be new when installing doctrine via composer: Symfony operations: 3 recipes (d1677be98e0980609549e3b67c08b1cb) - WARNING doctrine/doctrine-cache-bundle (>=1.3): From github.com ...
... Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle. doctrine/annotations 1.10.1 Docblock Annotations Parser doctrine/cache 1.10.0 ...
julien_bonnier
julien_bonnier
Read Full Comment
105 lines | composer.json
{
// ... lines 2 - 3
"require": {
// ... lines 5 - 8
"doctrine/doctrine-bundle": "^2.0",
// ... lines 10 - 44
},
// ... lines 46 - 103
}
See Code Block in Script
Blog
Doctrine's HIDDEN gem

We had a great question from a user recently where the answer involved a little-known Doctrine feature called HIDDEN. You won't need it often, but it deserves its 5 in the spotlight! HIDDEN allows you to select a field ...

105 lines | composer.json
{
// ... lines 2 - 45
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.0",
// ... lines 48 - 54
},
// ... lines 56 - 103
}
See Code Block in Script
81 lines | composer.json
{
// ... lines 2 - 42
"require-dev": {
// ... lines 44 - 45
"doctrine/doctrine-fixtures-bundle": "^3.0"
},
// ... lines 48 - 79
}
See Code Block in Script
65 lines | composer.json
{
// ... lines 2 - 17
"require": {
// ... lines 19 - 22
"doctrine/doctrine-cache-bundle": "^1.2",
// ... lines 24 - 62
}
}
See Code Block in Script
76 lines | app/config/config.yml
// ... lines 1 - 46
doctrine:
// ... lines 48 - 62
orm:
// ... lines 64 - 65
filters:
fortune_cookie_discontinued: AppBundle\Doctrine\DiscontinuedFilter
// ... lines 68 - 76
See Code Block in Script
47 lines | config/packages/doctrine.yaml
doctrine:
// ... lines 2 - 7
orm:
// ... lines 9 - 18
filters:
fortuneCookie_discontinued: App\Doctrine\DiscontinuedFilter
// ... lines 21 - 47
See Code Block in Script
... ApiPlatform\Core\Serializer\Filter\PropertyFilter; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Symfony\Bridge\Doctrine\Validator\Constraints ...
MolloKhan
MolloKhan
Read Full Comment
Ok so apparently doctrine cache has been deprecated. https://github.com/doctrine/cache/issues/354, So tried installing an older cache library to make it work. You will need to install this version of Doctrine cache ...
shirleenkneppers
shirleenkneppers
Read Full Comment
Hey Brandon The problem is that you are passing the jobsId instead of the jobs object. Thanks to Doctrine, your entities work with objects instead of raw id's You may want to watch this two courses about Doctrine so ...
MolloKhan
MolloKhan
Read Full Comment
... doctrine \n doctrine:cache \n doctrine:database \n ...
Евгений Явгель
Евгений Явгель
Read Full Comment
... could this be an issue? ``` @Doctrine vendor/doctrine/doctrine-bundle/Resources/views/ @!Doctrine vendor/doctrine/doctrine-bundle/Resources/views/ ``` ``` @Twig ...
Hey @Marko! Apparently this is due to some bug between doctrine/doctrine-bundle and doctrine/dbal. I'm reading that upgrading to doctrine/doctrine-bundle 1.12 would fix it. To do that (I just did it locally), you ...
weaverryan
weaverryan
Read Full Comment
Hey rtwent, That is native Doctrine pagination, so that's a different thing. Yes, both solves pagination problem, but in this video we use a third-party bundle for this called knplabs/knp-paginator-bundle . It already ...
... - Conclusion: don't install twig/extensions v1.5.3 - Conclusion: don't install twig/extensions v1.5.2 - Conclusion: don't install twig/extensions v1.5.1 - Conclusion: remove doctrine/doctrine-bundle 2.0.7 ...
Robert V.
Robert V.
Read Full Comment
... Doctrine listener, then Doctrine event subscribers are indeed *always* instantiated. Doctrine event listeners *can* be made lazy, but actually are *not* lazy by default: you need to add a lazy: true option to the tag. Actually ...
weaverryan
weaverryan
Read Full Comment