Url : https://dl.dropbox.com/s/hz4x93otqo6xupl/base-squeeze64-dotdeb-lamp-54-silex.box?dl=1
$ cat /etc/debian_version
6.0.4| /** | |
| * Transform a Query object to its SQL value | |
| * | |
| * @param Query $query | |
| * | |
| * @return string | |
| */ | |
| function queryToSql($query) | |
| { | |
| // Unnest query objects |
| [ | |
| { | |
| "event": "send", | |
| "msg": { | |
| "ts": 1365109999, | |
| "subject": "This an example webhook message", | |
| "email": "example.webhook@mandrillapp.com", | |
| "sender": "example.sender@mandrillapp.com", | |
| "tags": [ | |
| "webhook-example" |
| <?php | |
| use Symfony\Component\Console\Input\ArgvInput; | |
| use Symfony\Component\Console\Input\InputDefinition; | |
| use Symfony\Component\Console\Input\InputArgument; | |
| use Symfony\Component\Console\Input\InputOption; | |
| $input = new ArgvInput($argv, new InputDefinition([ | |
| new InputArgument('sql', InputArgument::REQUIRED), | |
| new InputOption('update', 'u', InputOption::VALUE_NONE), |
Url : https://dl.dropbox.com/s/hz4x93otqo6xupl/base-squeeze64-dotdeb-lamp-54-silex.box?dl=1
$ cat /etc/debian_version
6.0.4In order to get a bit of "hard data" on what accessors will actually be used for once they are introduced I wrote a small script that scans through a codebase, finds all getter and setter methods and checks them for various characteristics. (The analyze.php file in this Gist.)
Here are the results of running it on a Symfony (Standard) skeleton.
absoluteTotal => 18516 (486.6%)
total => 3805 (100.0%)
skipped => 124 ( 3.3%)
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.