View mapData.vue
<template> | |
<div class="map-data-wrapper"> | |
<div class="map-data" v-on:click="showData()"> | |
<!-- vue layers --> | |
<div> | |
<!--MAP--> | |
<vl-map :load-tiles-while-animating="true" :load-tiles-while-interacting="true" |
View doctrine.yaml
parameters: | |
# 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. | |
env(DATABASE_URL): '' | |
doctrine: | |
dbal: | |
# configure these for your database server |
View SiteError.php
<? | |
private function logError(){ | |
$errorEvent = new SiteErrorEvent(); | |
$errorEvent->setStatus($this->status); | |
$errorEvent->setReport($this->report); | |
$errorEvent->setException($this->exception); | |
// init event dispatcher | |
$dispatcher = new EventDispatcher(); |
View RegistrationType.php
<?php | |
namespace UserBundle\Form; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
class RegistrationType extends AbstractType | |
{ |
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) |