2708 search results for Doctrine

... - 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
Hi, I must have skipped one page, I don't have the config/packages/doctrine.yaml file. I tried "composer require doctrine/doctrine-bundle" which added "doctrine/doctrine-bundle": "^1.9" in my composer.json but nothing ...
Jean-tilapin
Jean-tilapin
Read Full Comment
... "DoctrineMigrationsBundle" from namespace "Doctrine\Bundle\MigrationsBundle". Did you forget a "use" statement for another namespace? in /Users/andy/Projects/Symfony/symfony-doctrine/start/app/AppKernel.php:20 Stack trace: #0 /Users/andy ...
Andy @ melt
Andy @ melt
Read Full Comment
... => v1.5.0) - Upgrading composer/package-versions-deprecated (1.11.99.4 => 1.11.99.5) - Upgrading doctrine/annotations (1.13.2 => 2.0.1) - Upgrading doctrine/cache (2.1.1 => 2.2.0) - Upgrading doctrine/collections ...
Nicolas-M
Nicolas-M
Read Full Comment
... fixtures composer require --dev doctrine/doctrine-fixtures-bundle ` all of these commands ended up with the same result: ` Using version ^3.1 for doctrine/doctrine-fixtures-bundle ./composer.json has been updated Loading ...
AndTheGodsMadeLove
AndTheGodsMadeLove
Read Full Comment
... /Projects/Symfony/climate_overflow): failed to open stream: No such file or directory in /home/gary/Projects/Symfony/climate_overflow/vendor/doctrine/persistence/src/Persistence/Mapping/Driver/ColocatedMappingDriver.php ...
Well, Here is my composer.json "require": { "php": ">=5.5.9", "symfony/symfony": "3.2.*", "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine ...
Martin Bittner
Martin Bittner
Read Full Comment
... ", "prefer-stable": true, "require": { "php": ">=8.1", "ext-ctype": "*", "ext-iconv": "*", "composer/package-versions-deprecated": "1.11.99.1", "doctrine/annotations": "^1.0 ...
Vladyslav-Chernyshov
Vladyslav-Chernyshov
Read Full Comment
... >assertResponseStatusCodeSame(500); $em = self::$container->get('doctrine')->getManager(); $financialstatementtype = new FinancialStatementType(); $financialstatementtype->setFstypeId('2 ...
sridharpandu
sridharpandu
Read Full Comment
Hi, I notice a minor issue when following along with Symfony 5. `make:fixtures` generates ArticleFixtures with `use Doctrine\Common\Persistence\ObjectManager` - note `\Common\` in the namespace path. ArticleFixtures ...
Edward B.
Edward B.
Read Full Comment
Hey AymDev! I know the first error :). It's because doctrine/annotations is not compatible with PHP 7.4 unless you have version 1.7.0 or higher. BUT, about a week ago, I made sure that this tutorial was updated. If you ...
weaverryan
weaverryan
Read Full Comment
... using teh following Doctrine EventSubscriber and am wondering if there is a better way? ``` namespace App\Doctrine; use App\Entity\ApiToken; use App\Entity\User; use Doctrine\ORM\Event\LifecycleEventArgs; use Doctrine ...
... It doesn't work. Update to "doctrine/orm": ">2.5.0", "doctrine/dbal": ">=2.5-dev, ...
Tabla Mihai
Tabla Mihai
Read Full Comment
... what's the difference between use Doctrine\Persistence\ObjectManager; and use Doctrine\Common\Persistence\ObjectManager;
jpfortuno
jpfortuno
Read Full Comment
Doctrine Behaviors 2 is out! https://www.tomasvotruba.cz/blog/2019/12/30/doctrine-behaviors-2-0-reloaded/ ...
Tomáš Votruba
Tomáš Votruba
Read Full Comment
79 lines | app/config/config.yml
// ... lines 1 - 42
# Doctrine Configuration
doctrine:
dbal:
// ... line 46
host: "%database_host%"
port: "%database_port%"
dbname: "%database_name%"
user: "%database_user%"
password: "%database_password%"
// ... lines 52 - 79
See Code Block in Script
13 lines | src/AppBundle/Entity/Movie.php
// ... lines 1 - 4
/**
* @Doctrine\ORM\Mapping\Entity
* @Doctrine\ORM\Mapping\Table(name="movie")
*/
class Movie
{
}
See Code Block in Script
51 lines | config/packages/doctrine.yaml
doctrine:
// ... lines 2 - 7
orm:
// ... lines 9 - 18
filters:
fortuneCookie_discontinued:
class: App\Doctrine\DiscontinuedFilter
enabled: true
parameters:
discontinued: false
// ... lines 25 - 51
See Code Block in Script
17 lines | config/bundles.php
// ... lines 1 - 2
return [
// ... lines 4 - 13
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
];
See Code Block in Script