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 | |
... | |
public function __construct(EntityManager $em, Paginator $paginator, EventDispatcherInterface $eventDispatcher, Router $router, $itemsPerPage) | |
{ | |
$this->em = $em; | |
$this->paginator = $paginator; | |
$this->eventDispatcher = $eventDispatcher; | |
$this->router = $router; | |
$this->itemsPerPage = $itemsPerPage; |
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
// ==UserScript== | |
// @name Error handler for Symfony and PHPStorm | |
// @version 0.1 | |
// @description Quickly open files in PhpStorm from Symfony error pages using Remote Call plugin. | |
// @match http://*/* | |
// @author darles | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js | |
// ==/UserScript== | |
var input = $('h1').html(); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}"/> | |
<meta name="robots" content="noindex,nofollow" /> | |
<title>{% block title %}{% endblock %}</title> | |
<link href="{{ asset('bundles/framework/css/structure.css') }}" rel="stylesheet" type="text/css" media="all" /> | |
<link href="{{ asset('bundles/framework/css/body.css') }}" rel="stylesheet" type="text/css" media="all" /> | |
{% block head %}{% endblock %} | |
</head> |