H
H
hard_o2021-03-31 16:25:22
symfony
hard_o, 2021-03-31 16:25:22

How to inherit Query in Doctrine?

There is an existing object

Doctrine\ORM\Query

How can you modify it and add the necessary logic to it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2021-03-31
@hard_o

A dumb idea, I think it came from Yii))))
Poidea everything is decided through the
Repository
https://symfonycasts.com/screencast/symfony4-doctr...
Or there are specifications for things like
https://github.com/Happyr/Doctrine-Specification

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question