I have an object that looks like this:
Foo_Transaction Object (
[_attributes] => Array (
[id] => abcdefg
[orderId] =>
[createdAt] => DateTime Object (
[date] => 2015-03-05 18:57:48.000000
)
I can access id with $result->transaction->id just fine.
However, trying to access the date data with $result->transaction->createdAt->date returns NULL. Am I doing it wrong?