Skip to content

Instantly share code, notes, and snippets.

View nachopants's full-sized avatar

Andrew Smith nachopants

View GitHub Profile
@nachopants
nachopants / gist:3b8a9fd27ee0d63fb65e
Created September 24, 2014 06:16
Preservation Age
<?php
/*
Date of Birth - Preservation Age
Before 1 July 1960 - 55
1 July 1960 to 30 June 1961 - 56
1 July 1961 to 30 June 1962 - 57
1 July 1962 to 30 June 1963 - 58
1 July 1963 to 30 June 1964 - 59
After 30 June 1964 - 60
*/
guzzle.client.class: Guzzle\Http\Client
guzzle.classsuper.client:
class: %guzzle.client.class%
arguments: [%class.baseurl%, [auth, [%class.auth.username%,%class.auth.password%,basic]]]
use Misd\GuzzleBundle\MisdGuzzleBundle;
@nachopants
nachopants / merk
Last active August 29, 2015 14:04
Array
(
[0] => Doctrine\ORM\Query\Expr\Comparison Object
(
[leftExpr:protected] => f.fundId
[operator:protected] => =
[rightExpr:protected] => :fundId
)
[1] => Doctrine\ORM\Query\Expr\Comparison Object