blongden/hal — pull request #5 by ramsey (2012-06-21 23:04:49+00:00)
Title: Support for the full range of link attributes

HAL and RFC 5988 specify other attributes for links than what Nocarrier\Hal currently supports. This pull request provides support for specifying an optional array of named attributes that may be passed in as the last parameter to the `Hal::addLink()` method. I did not provide any validation of the keys passed in, since RFC 5988 allows for "link-extensions to maintain fidelity" with HTML 4 and Atom (as well as future extensions that may be specified).

Please note that this pull request also contains the contents of my earlier pull request #4. You can ignore number #4, since it's included here. Sorry about that. I meant to keep them separate.