2709 search results for Doctrine

89 lines | src/Controller/RegistrationController.php
// ... lines 1 - 7
use Doctrine\ORM\EntityManagerInterface;
// ... lines 9 - 16
class RegistrationController extends AbstractController
{
// ... lines 19 - 61
public function verifyUserEmail(Request $request, VerifyEmailHelperInterface $verifyEmailHelper, UserRepository $userRepository, EntityManagerInterface $entityManager): Response
{
// ... lines 64 - 86
}
}
See Code Block in Script
... iconv": "*", "antishov/doctrine-extensions-bundle": "^1.4", "aws/aws-sdk-php": "^3.87", "composer/package-versions-deprecated": "^1.11", "doctrine/annotations": "^1.0", "doctrine ...
... /serializer-basics and if you want to see more, you can check this other chapter for advanced usage of it https://knpuniversity.com/screencast/symfony-rest3/custom-serialization-field If you want to learn more about Doctrine ...
MolloKhan
MolloKhan
Read Full Comment
Hi, when i try to install the doctrine-fixture-bundle i get an error about permission denied: hash_file(C:/Users/xxx/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$security-acl.json): fa iled to ...
Dino2014 D.
Dino2014 D.
Read Full Comment
... (1.9.1): Loading from cache - but now I get [Symfony\\Component\\Config\\Exception\\FileLoaderLoadException] \n Class Doctrine\\Bundle\\FixturesBundle\\Fixture not found in /var/www/project/ \n ...
... Hello, I'm dealing with some issues while trying to run the $ ./bin/console doctrine:database:create command. The error I keep getting is: [Doctrine\DBAL\Exception\ConnectionException] An exception occured in ...
Hmm, you know, I'm not sure :). But I would try it! Remove the `$id` (the normal one that Doctrine adds), then add a property for your varchar one that exists, and give it @ORM\Column and @ORM\Id, but don't give it @ORM ...
weaverryan
weaverryan
Read Full Comment
... "swiftmailer", found "framework", "security", "twig", "monolog", "doctrine", "sensio_framework_extra", "knp_markdown", "doctrine_cache", "doctrine_migrations", "debug", "web_profiler", "sensio_distribution", "doctrine_fixtures ...
... query, the only problem is that Doctrine is executing double Left Join 1 to Users and 1 to Event_User Table. I guess is because Event entity has 2 different relationships (users and event_user) Is there any form to specify Doctrine to only add one Left Join ? Thanks for your time.
MolloKhan
MolloKhan
Read Full Comment
Sorry, im not explaining it well. I'm using Doctrine´s ORM but i don´t need to fill a select box with number's from another Entity, i just need to display 3 input´s (Area Code - Country code - Phone Number) that will ...
... want to dive deeper http://symfony.com/doc/current/reference/configuration/doctrine.html#custom-mapping-entities-in-a-bundle For your case, you will have to do something like this: ``` // config.yml doctrine: orm ...
MolloKhan
MolloKhan
Read Full Comment
I installed a blank project (3.3) with the symfony installer (and added doctrine/doctrine-cache-bundle) and then went through the exact same steps and registration works as expected, the user is added to the database ...
Robert Went
Robert Went
Read Full Comment
... I'm still getting this same error and I've checked against the downloaded project files and couldn't find a typo. I found a mention of a solution by way of XML files (something about Doctrine ignoring the annotation for ...
... fortuneCookie_{1..10}: category_id: '@category_*' fortune: createdAt: numberPrinted: discontinued: ``` here is my LoadFixture.php ``` namespace AppBundle\DataFixtures\ORM; use Doctrine\Common ...
... within form field live search pops up and doctrine is catching the most suitable entries. Now if entry is clicked the hidden form field is filled with the new id. After submitting the form doctrine catch up the entity ...
Thomas L.
Thomas L.
Read Full Comment
Hello , been having a bit of an issue with grouping ? Seems doctrine is very fussy about grouping these queries. Need a way to group a bunch of orWhere ? Found this syntax on SO but guess it's not up to date anymore for ...
Caim Astraea
Caim Astraea
Read Full Comment
... Hey @Hunte! I'm pretty sure I just replied to you via email, but for others, here's the short answer: 1) Delete one of the use statements - you should only have `use Doctrine\ORM\Mapping as ORM;` 2) Make sure all of ...
weaverryan
weaverryan
Read Full Comment
... Fundamentals: Bundles, Configuration & Environments - beginner - Symfony: Doctrine & the Database - intermediate - Mastering Doctrine Relationships in Symfony - advanced - Symfony: Level up with Services and the ...
On the bottom of page 2, i'm trying to load the fixtures but it returns this error: [Doctrine\DBAL\Exception\UniqueConstraintViolationException] An exception occurred while executing 'INSERT INTO user (email) VALUES ...
... [Doctrine\DBAL\Exception\ConnectionException] An exception occured in driver: SQLSTATE[HY000] [2002] No such file or dire ctory ...
Boran Alsaleh
Boran Alsaleh
Read Full Comment