Categories
Passing class constant as getRepository argument?
Hello, Got the code: $this->getDoctrine()->getRepository(Image::class); Don't tell me what's going on here?
Answer the question
In order to leave comments, you need to log in
php.net/manual/en/language.oop5.basic.php#language... that is, we ask the doctrine to give us a repository for the Image entity (by the full class name).
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question