Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steevanb/doctrine-repository-hint-bug

Why you should NEVER use doctrine default EntityRepository
https://github.com/steevanb/doctrine-repository-hint-bug

Last synced: 9 days ago
JSON representation

Why you should NEVER use doctrine default EntityRepository

Awesome Lists containing this project

README

        

doctrine-repository-hint
==

The goal of this code is to show why you should NEVER use default `EntityRepository` given by Doctrine.

This methods of EntityRepository don't take care of default HINT :
* find()
* findAll()
* findBy()
* findOneBy()

Installation
==

You need `Docker` and `docker-compose` that's all.

Clone the repository then just call `bin/start` (`-v` if you want more logs).

Everything is started ;)

See the examples
==

Go to http://localhost:8097/, everything is explained.