blongden/hal — pull request #9 by blongden (2012-10-04 08:58:47+00:00)
Title: Attribute annotate

When setting an attribute you can also set a special variable 'value' to
set the value of an XML element. JSON representation will retain the
name 'value' in the object.

$hal = new Nocarrier\Hal('/orders', array(
'content' => array(
'@type' => "text",
'value' => "Lorem Ipsum"
)
));