I need your help.
I need to acces to an object proprety. This proprety is in an array and it’s protected.
I’m working wtih a third library that generate me the object, so I can’t create getter and setter.
So I need your help to figure out what to do.
Array (  => Media Object ( [context:protected] => 0 [contextId:protected] => [properties:protected] => Array ( [source-width] => 1920 [source-height] => 1080 [source-duration] => 166 [source-filesize] => 12155636 [source-orientation] => 0
It’s the source-duration proprety that I want. Thanks for your help
Source: Ask PHP