I am being give this object via an api. How can I get the status element from it? It just looks really unusual to me because it's root element is an id number. I can't seem to use $myObject->8772622 or $myObject->status and can't think of any other way to address the root of the object so I can get it's contents.
stdClass Object
(
    [8772622] => Array
        (
            [0] => stdClass Object
                (
                    [id] => 8267788
                    [pattern_id] => 8772622
                    [status] => RENEWED
                    [begin_date] => 2019-12-11 16:00:00
                    [end_date] => 2019-12-12 10:00:00
                    [uuid] => 
                )
        )
)
Thanks,
Wittner
 
     
     
    