fabpot/Sami — pull request #5 by mtdowling (2012-05-16 20:56:29+00:00)
Title: Adding @method support to dynamically insert new methods into a class

This PR adds support for the @method tag so that methods are dynamically added to classes when parsing.

/**
* @method foo()
* @method foo() This is the description
* @method int foo($arg1, $arg2)
* @method Guzzle\Common\Collection foo(int $arg1, string $arg2, $arg3 = 'default')
*/

This needs tests and needs some work to support the following:
1. Default string values with spaces
2. Default array() values

Any help finishing it off or cleaning it up is appreciated.