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 | |
declare(strict_types=1); | |
namespace DI\View; | |
use QafooLabs\Bundle\NoFrameworkBundle\View\TemplateGuesser; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; | |
use Symfony\Component\HttpFoundation\RequestStack; | |
/** |
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
# IntelliJ Project | |
.idea/* | |
# Temp and swap files | |
*~ | |
*.swp | |
*.tmp | |
# Compiled source | |
*.com |
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
On AMPPS 2.2 xdebug.so is included for all shipped PHP versions but not at the correct folders. | |
To activate it, follow these steps: | |
1.) make sure xdebug.so can be found in these locations: | |
/Applications/AMPPS/php-5.3/lib/extensions/xdebug.so | |
/Applications/AMPPS/php-5.4/lib/extensions/xdebug.so | |
/Applications/AMPPS/php-5.5/lib/extensions/xdebug.so | |
As AMPPS just changes a symlink when changing PHP versions, you need to edit the config files for each of the versions: |
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
/** | |
* Creates a modal jQueryUi Dialog which displays a message. | |
* More or less a jQuery Styled alert(). | |
* | |
* @param message The message to display | |
* @param [title] The title for the dialog box. Defaults to "Hinweis". | |
* @param [yesCallback] | |
* @param [noCallback] | |
*/ | |
function jQueryConfirm(message, title, yesCallback, noCallback) { |
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
@ECHO off | |
SET params= | |
REM Merge all batch parameters into one string | |
:startloop | |
IF "%1"=="" GOTO endloop | |
SET params=%params%%1 | |
SHIFT | |
GOTO startloop | |
:endloop | |
REM call symfony console with batch params |
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 YourCompany\YourCustomer\YourBundle\DQL; | |
use Doctrine\ORM\Query\AST\Functions\FunctionNode; | |
use Doctrine\ORM\Query\Parser; | |
use Doctrine\ORM\Query\SqlWalker; | |
use Doctrine\ORM\Query\Lexer; | |
/** |
NewerOlder