Quantcast
Channel: Doctrine – Symfony 2 Blog
Browsing all 3 articles
Browse latest View live

Doctrine Schema Validation Problems, and how to fix them

Doctrine has a habit of throwing strange errors my way – usually when things look like they should just work. As I encounter more of them, I will add them below. The referenced column name...

View Article



Image may be NSFW.
Clik here to view.

Using LifecycleCallbacks for CreatedAt and UpdatedAt in Symfony 2

Lifecycle Callbacks are a super helpful bit of code that I use in a good number of my entities. They are scary sounding and the documentation on the Symfony 2 official docs doesn’t give a detailed...

View Article

Image may be NSFW.
Clik here to view.

Doctrine postPersist / postUpdate events not firing in Symfony 2?

So let’s say you’ve been tinkering about with the example given on the Symfony 2 manual page for configuring a Doctrine Event Subscriber. All is good. Maybe you’ve been through and configured it just...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images