for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SumoCoders\FrameworkCoreBundle\Repository;
use Doctrine\ORM\EntityRepository;
use SumoCoders\FrameworkCoreBundle\Entity\OtherChoiceOption;
final class OtherChoiceOptionRepository extends EntityRepository
{
public function create(OtherChoiceOption $otherChoiceOption)
$this->getEntityManager()->persist($otherChoiceOption);
$this->getEntityManager()->flush($otherChoiceOption);
}