Last active
June 29, 2017 12:39
-
-
Save Stunc0/97e164a02bcd250281e0dc412c5dd9b6 to your computer and use it in GitHub Desktop.
[Symfony Doctrine] #symfony #entity #doctrine #findAll #find
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//find all object from ObjectClass | |
$this->getDoctrine()->getRepository(ObjectClass::getClass())->findAll() | |
//save object | |
$this->getDoctrine()->getManager()->flush($object); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment