2710 search results for Doctrine
Learn Symfony 6
Doctrine, Symfony 6 & the Database
... talk to the database? The answer is... no! Because... it doesn't have to! Why? Enter Doctrine: the most powerful library in the PHP world for working with databases. And Symfony and Doctrine work great together: they're ...
Learn Symfony 2
Starting in Symfony2: Course 1 (2.4+)
... run raw SQL queries, that's great! When we create services in Episode 3, you'll learn some life-saving strategies to organize something like this. But most people that use Symfony use a third-party library called Doctrine ...
Symfony Conference Presentations
Symfony Live Paris 2019 (French)
... L'ORM Doctrine offre beaucoup plus de flexibilité qu'il n'y paraît. Dans cette présentation, nous allons nous intéresser à son fonctionnement interne et à ses fonctionnalités moins connues, pour découvrir comment mieux ...
Symfony Live Lille 2019 (French)
Go Pro with Doctrine Queries
Hey there friends! And thanks for joining me for to a tutorial that's all about the nerdery around running queries in Doctrine. It sounds simple... and it is for a while. But then you start adding joins, grouping ...
Starting in Symfony2: Course 3 (2.4+)
ManyToOne Doctrine Relationships¶ Right now, if I creat an Event, there’s no database link back to my user. We don’t know which user created each Event. To fix this, we need to create a OneToMany relationship from ...
Learn Symfony 5
Doctrine, Symfony & the Database
Well hey friends! And bienvenidos to our tutorial about learning Spanish! What? That's next week? Doctrine? Ah: welcome to our tutorial all about making Symfony talk to a database... in English. We learned a ton in the ...
... database. We created some data fixtures, in a sense, via this new action. But Doctrine has a system specifically designed for this. Search for "doctrinefixturesbundle" to find its GitHub repository. And you can actually read ...
SymfonyCon 2018 Lisbon Conference Videos
... denis.brumann [at] sensiolabs.de and also on twitter and GitHub with my initial and last name. And before I start I want to make clear that everything I will talk about is about Doctrine 2 not Doctrine 3. It's not out yet ...
Doctrine Extensions: Sluggable and Timestampable¶ I want to show you a little bit of Doctrine magic by using an open source library called DoctrineExtensions. The first bit of magic we’ll add is a slug to Event. Not ...
... and cleverly set it by hand in the constructor. But what about $updatedAt? Doctrine does have an awesome event system, and we could hook into that to run code on "update" that sets that property. But there's a library ...
API Platform 2 Part 3: Custom Resources
... property in our entity but not persist it to Doctrine. Call it $isMvp and let's add some documentation that can be used by the API docs: Returns true if this user is an MVP Next, down at the bottom, go to "Code ...
... for entities, including one called Sluggable. And actually, the bundle is just a tiny layer around another library called doctrine extensions. This is where the majority of the documentation lives. Anyways, let's get the ...
Lean and Mean Dev with PhpStorm (for Symfony)
... simple solution to that. Just copy the full Entity annotation, say use, paste that and then delete the last part and instead stay as ORM;: That's the standard use statement that you see at the top of all Doctrine ...
Messenger! Queue work for Later
... this middleware, it will wrap your handler inside a Doctrine transaction. If the handler throws an exception, it will rollback the transaction. And if no exception is thrown, it will commit it. This means that your handler ...
SymfonyCon 2019 Amsterdam Conference Videos
Transcript & caption for the talk will be added soon.
Learn Symfony 3
Symfony 3: Level up with Services and the Container
Injecting the Cache Service
Go Pro with Doctrine Queries (Legacy)
Filters
Filters: Automatically Modify Queries