I hereby claim:
- I am gunnarlium on github.
- I am gunnarlium (https://keybase.io/gunnarlium) on keybase.
- I have a public key ASDVYc_KW1M2rBQhbI1dAsPyCQ-Sb1CevXPL5Xoh_XD9fAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Exception\ConnectException; | |
use GuzzleHttp\Exception\RequestException; | |
use GuzzleHttp\Handler\CurlHandler; | |
use GuzzleHttp\HandlerStack; | |
use GuzzleHttp\Psr7\Request as Psr7Request; | |
use GuzzleHttp\Psr7\Response as Psr7Response; | |
use Psr\Log\LoggerInterface; | |
const MAX_RETRIES = 2; |
<?php | |
namespace App\Form\DataTransformer; | |
use Symfony\Component\Form\DataTransformerInterface; | |
class ArrayToStringTransformer implements DataTransformerInterface | |
{ | |
public function transform($value) | |
{ |
<?php | |
namespace Aptoma; | |
use Silex\Application; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpKernel\Exception\HttpException; | |
/** | |
* JsonErrorHandler is able to capture exceptions and do smart stuff with them. |
<?php | |
namespace App\Event; | |
use Nelmio\CorsBundle\EventListener\CorsListener; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\HttpKernel\KernelEvents; | |
class CorsEventSubscriber extends CorsListener implements EventSubscriberInterface |
{ | |
"require": { | |
"guzzle/guzzle": "3.4.1", | |
"monolog/monolog": "~1.5" | |
} | |
} |