This file contains hidden or 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 App\Services\Rest\Helper; | |
use App\Utils\JSON; | |
use Symfony\Component\HttpFoundation\Request as HttpFoundationRequest; | |
use Symfony\Component\HttpFoundation\RequestStack; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpKernel\Exception\HttpException; |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Script to turn xdebug on and off | |
# Permission to copy and modify is granted under the MIT license | |
# Last revised 2014-03-07 | |
# Mauro Maggi <maurotdo (at) gmail (dot) com> | |
PHP=$(which php) | |
XDEBUG=$($PHP -i | grep -i xdebug | grep -i enabled) | |
INI=$($PHP -i | grep "xdebug.ini" | tr -d ',') |