I'm trying to get the value from a property but can't seem to make my head around it.
Output:
Array
(
[0] => stdClass Object
(
[Name] => layout
[Count] => 4
)
[1] => stdClass Object
(
[Name] => node
[Count] => 2
)
[2] => stdClass Object
(
[Name] => setting
[Count] => 5
)
[3] => stdClass Object
(
[Name] => user
[Count] => 9
)
)
Any idea in how to get name property? I've tried foreach( $array as $item ) but I don't get the name property value