Skip to content

Instantly share code, notes, and snippets.

View nachopants's full-sized avatar

Andrew Smith nachopants

View GitHub Profile
@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
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 / 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
*/
AnnotationException: [Semantical Error] The annotation "@returns" in method Stripe_ApiResource::refresh() was never imported. Did you maybe forget to add a "use" statement for this annotation?
in /var/www/vhosts/api.heffron-it.com.au/html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php line 54
at AnnotationException::semanticalError('The annotation "@returns" in method Stripe_ApiResource::refresh() was never imported. Did you maybe forget to add a "use" statement for this annotation?') in /var/www/vhosts/api.heffron-it.com.au/html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php line 703
at DocParser->Annotation() in /var/www/vhosts/api.heffron-it.com.au/html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php line 641
at DocParser->Annotations() in /var/www/vhosts/api.heffron-it.com.au/html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php line 334
at DocParser->parse('/** * @returns Stripe_ApiResource
<?php
namespace Heffron\Bundle\AWSBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use Aws\Ses\SesClient;
/**
* AWS SES Controller.
*
<?php
namespace Heffron\Bundle\APIBundle\Controller;
use FOS\RestBundle\Controller\FOSRestController;
use FOS\RestBundle\Controller\Annotations\Post;
use FOS\RestBundle\Controller\Annotations\Get;
use FOS\RestBundle\Controller\Annotations\Route;
use FOS\RestBundle\Request\ParamFetcher;
use FOS\RestBundle\Controller\Annotations\RequestParam;
use Heffron\Bundle\APIBundle\Services\Stripe\Client;
#MyBarBundle\Controller\EmailController
class NotifyAFagController extends FOSRestController
{
public function getTellMeSomethingAction($fag)
{
$EmailController->getDeliverAction('you are a fag');
}
}
{
"status": true,
"count": 3,
"response": [
{
"id": 1,
"fund_code": 12345,
"name": "Smith Superannuation Fund",
"brand_code": "1078",
"abn": "45191099833",
{
status: true,
message: "",
result: [
{
id: 1,
fundCode: "12345",
name: "Smith Superannuation Fund",
brandCode: "1078",
abn: "45191099833",
{
"status": true,
"message": "",
"result": [
{
"id": 1,
"fundCode": "12345",
"name": "Smith Superannuation Fund",
"brandCode": "1078",
"abn": "45191099833",