2708 search results for Doctrine

Thanks for your answer! But in WebTestCase or even KernelTestCase, container does not have doctrine service, what is indicating that I need to register DoctrineBundle, right? But where do I register the Doctrine bundle ...
Lucas Baldassari
Lucas Baldassari
Read Full Comment
Hi, Great videos, Ryan. During a composer recipes:update and getting back the following list: ` [0 ] liip/imagine-bundle [1 ] stof/doctrine-extensions-bundle [2 ] symfony/apache-pack [3 ] symfony/flex [4 ...
... who are still stuck on this. Using composer in your terminal, make sure to install the nelmio/alice "2.1.4" version, and the doctrine-fixtures-bundle "2.3" version. ``` composer require --dev nelmio/alice "2.1.4 ...
... " (represented by an abstract syntax tree - AST) into the actual SQL. In essence, this the actual code that turns the AST into the actual query string. Here's the default walker: https://github.com/doctrine/doctrine2/blob/master ...
weaverryan
weaverryan
Read Full Comment
... =dev APP_SECRET=1c78f3e5e06eb3c88a52819fbccdba6e #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 #TRUSTED_HOSTS='^localhost|example\.com$' ###< symfony/framework-bundle ### ###> doctrine/doctrine-bundle ### # Format ...
... container port. # See https://docs.docker.com/compose/compose-file/#ports for more information. - '3306' ``` and my .env ``` # ... ###> doctrine/doctrine-bundle ### # Format described at https://www.doctrine ...
Rooarii MANUEL
Rooarii MANUEL
Read Full Comment
Hey there! I see what you mean, but it's incorrect to think that Doctrine is garbage just because it does not have extra columns on many-to-many relationship. Well, first of all, any ManyToMany relationship is just 2 ...
... " The command $ bin/console prints : [...] doctrine doctrine:cache:clear-collection-region Clear a second-level cache collection region doctrine:cache:clear-entity-region Clear a second ...
... to do is generating a set of Doctrine entity classes from your existing database. Once you have done this, you only need to add the `@ApiResource` annotation to convert the entity class into an API resource. The tool ...
weaverryan
weaverryan
Read Full Comment
Hey Shairyar! If you want, you *can* just execute the raw SQL in Doctrine: https://knpuniversity.com/screencast/doctrine-queries/raw-sql-queries. But I'm guessing you really want to know how to convert it. The key in ...
weaverryan
weaverryan
Read Full Comment
... ### ###> doctrine/doctrine-bundle ### # Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url # For an SQLite database, use: "sqlite ...
... ": "*", "ext-iconv": "*", "babdev/pagerfanta-bundle": "4.x-dev", // 4.x-dev "doctrine/doctrine-bundle": "^2.10", // 2.12.x-dev "doctrine/doctrine-migrations-bundle": "^3.2", // 3.4.x-dev ...
Hey Kevin, Yes... and we're still releasing Doctrine tutorial: https://knpuniversity.com/screencast/doctrine-relations . But there's work in full swing on this ReactJS tut in our private repo! So we're really working ...
Hey Petru L. You can tell Doctrine which convention to follow in the cofiguration file: ``` // doctrine.yaml doctrine: # ... orm: # ... entity_managers: default ...
MolloKhan
MolloKhan
Read Full Comment
Hey Dmitry V. Can you tell me which version of "doctrine/doctrine-fixtures-bundle" library are you using? I tried in 2.3 and it worked, but maybe they changed it for the latest version Also, you can run``` php bin ...
MolloKhan
MolloKhan
Read Full Comment
Found that there was a -v switch that indicated that it was a dateTime problem Exception trace: () at /media/johnk/73F9A5F807B5266F/workspace/DoctrineRels/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/DateTimeType.php:53 And at your suggestion looked in fixtures.yml and found the '>' was missing as the end of 'createdAt: ' ...
jk_scotland
jk_scotland
Read Full Comment
Yes, I imported namespace "use Doctrine\ORM\Mapping as ORM;" before GenusScientist class declaration. namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name ...
Hello When I type in the console php bin/console doctrine:migrations:diff I have the error: [Doctrine\Common\Annotations\AnnotationException] [Semantical Error] The annotation "@Doctrine\ORM\Mapping" in property ...
Hi, in my config.yml there is no doctrine cache section. It stops at spool: {type: memory} If I write it in that place it shows me: There is no extension able to load the configuration for "doctrine_cache" (in C ...
For some reason, I keep getting this PHP Fatal error: Class 'Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle' not found in /vagrant/starwarsevents/app/AppKernel.php on line 21 I added the 2.3.0 version of the ...