2725 search results for Doctrine

36 lines | .env
// ... lines 1 - 29
###> symfony/messenger ###
// ... lines 31 - 32
MESSENGER_TRANSPORT_DSN=doctrine://default
// ... line 34
###< symfony/messenger ###
See Code Block in Script
70 lines | composer.json
// ... lines 1 - 15
"require": {
// ... lines 17 - 27
"stof/doctrine-extensions-bundle": "dev-master"
},
// ... lines 30 - 70
See Code Block in Script
63 lines | src/AppBundle/Entity/User.php
// ... lines 1 - 6
use Doctrine\ORM\Mapping as ORM;
// ... lines 8 - 63
See Code Block in Script
57 lines | app/config/services.yml
// ... lines 1 - 8
services:
// ... lines 10 - 37
AppBundle\Doctrine\HashPasswordListener:
tags:
- { name: doctrine.event_subscriber }
// ... lines 41 - 57
See Code Block in Script
15 lines | src/AppBundle/Entity/Movie.php
// ... lines 1 - 4
use Doctrine\ORM\Mapping as ORM;
// ... lines 6 - 15
See Code Block in Script
87 lines | features/bootstrap/FeatureContext.php
// ... lines 1 - 51
$em = self::$container->get('doctrine')->getManager();
// ... lines 53 - 87
See Code Block in Script
97 lines | features/bootstrap/FeatureContext.php
// ... lines 1 - 46
$em = self::$container->get('doctrine')->getManager();
// ... lines 48 - 97
See Code Block in Script
Hello, not sure if this belongs here but I have these 2 deprecations Since symfony/doctrine-bridge 6.3: Registering "Gedmo\Loggable\LoggableListener" as a Doctrine subscriber is deprecated. Register it as a ...
... "AppBundle\Service\Settings::__construct()" to one of its parents: interface "Doctrine\ORM\EntityManagerInterface", or interface "Doctrine\Common\Persistence\ObjectManager"." I don't understand, why I have to typehint the EntityManagerInterface and not the EntityManager?
Trafficmanagertech
Trafficmanagertech
Read Full Comment
Hello, I have surrendered to the Doctrine powers because of this tutorial. One question, I need to have a default date time value to catch the moment when the user fill a form. I made a construct function in the Entity ...
Hey, I am trying to set up a project for this course. That is what I see, after using db create command: [Doctrine\DBAL\Exception\ConnectionException] An exception occured in driver ...
Jan Zioło
Jan Zioło
Read Full Comment
... your next step - run "composer require doctrine/doctrine-migrations-bundle" and now Composer should be able to download this bundle and you won't see this error anymore (in theory). Let us know if something go wrong. Cheers!
... > composer require doctrine/doctrine-migrations-bundle This completly blow up my php memory limit. So on MAC you'll need to : - find out where is your php.ini for the php CLI > php --ini - Then edit the file ( in ...
Hi! I have a question... how can i show a list of images that I have hosted in web/images using twig?? You explain how to get info from doctrine and bring it to do something like that: {% for element in list %} The ...
Matias Rouaux
Matias Rouaux
Read Full Comment
Hey there, so I've got a problem, when I run: ./bin/console doctrine:database:create I get: [Doctrine\DBAL\Exception\DriverException] An exception occured in driver: could not find driver ...
Ali Niaki
Ali Niaki
Read Full Comment
Hey Céline Ollagnier Your file look's good to me, so there is not the problem. I would suggest you to first try running: $ composer update doctrine/doctrine-cache-bundle --with-dependencies Maybe there is a bug in ...
MolloKhan
MolloKhan
Read Full Comment
... But my base is empty except this table. As Ryan said I didn't put a version number and let the installation do its job. My composer.json says... "doctrine/doctrine-migrations-bundle": "^1.2" and for symfony "symfony/symfony": "3.2.*" ...
Céline Ollagnier
Céline Ollagnier
Read Full Comment
... urlencode some of the special characters in your password. Check out the latest commit to that class, which add support for this: https://github.com/doctrine/dbal/commit/2dc419625299be3b91ced60ca4658fb95abb3722, and the PR behind it: https://github.com/doctrine/dbal/pull/2504 Cheers! ...
weaverryan
weaverryan
Read Full Comment
... here:http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#persistence-by-reachability-cascade-persist Or watch our tutorial about doctrine collections (which I think is great): https://knpuniversity.com/screencast/collections Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hi Ryan, thanks a lot for making this clear. Additional I found out why symfony/doctrine was checking the XML Files instead of my Entites ... the XML-Files was created caused by Reverse Engineering of existent database ...
Thomas L.
Thomas L.
Read Full Comment