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
<?php | |
//v entite Order mam status takto | |
/** | |
* @var OrderStatus | |
* | |
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\OrderStatus", inversedBy="orders", fetch="EXTRA_LAZY") | |
* @Serializer\Expose() | |
*/ | |
private $status; |
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
{% extends 'base.html.twig' %} | |
{% form_theme form 'form_div_layout.html.twig' %} | |
{% macro widget_prototype(widget) %} | |
{% if widget.vars.prototype is defined %} | |
{% set form = widget.vars.prototype %} | |
{% set name = widget.vars.prototype.vars.name %} | |
{% else %} | |
{% set form = widget %} |
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
{ | |
... | |
"require":{ | |
... | |
"graylog2/gelf-php": "^1.3" | |
} | |
} |
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
<?php | |
namespace AppBundle\Security; | |
use AppBundle\Entity\User; | |
use Doctrine\ORM\EntityManager; | |
use Symfony\Component\Security\Core\User\UserProviderInterface; | |
use Symfony\Component\Security\Core\User\UserInterface; | |
use Symfony\Component\Security\Core\Exception\UnsupportedUserException; | |
use Symfony\Component\HttpFoundation\Session\Session; |