Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block signmeuptwice

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View doctrine.yaml
# Adds a fallback DATABASE_URL if the env var is not set.
# This allows you to run cache:warmup even if your
# environment variables are not available yet.
# You should not need to change this value.
# configure these for your database server
View SiteError.php
private function logError(){
$errorEvent = new SiteErrorEvent();
// init event dispatcher
$dispatcher = new EventDispatcher();
View RegistrationType.php
namespace UserBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
class RegistrationType extends AbstractType
signmeuptwice / Controller.php
Last active Nov 6, 2018
symfony AJAX form validation always true
View Controller.php
* @Route("/job-offer-form-handle/{offerID}", name="jobOfferFormHandle", methods={"POST"})
* @param Request $request
* @param $offerID
* @return JsonResponse|\Symfony\Component\HttpFoundation\Response
public function jobOfferFormDisplayAction(Request $request, $offerID = null)
You can’t perform that action at this time.