I am trying to read the properties of the following class through ReflectionClass
Now the Problem is the tradingMarket is an instance of TradingMarket class.
and if a variable is Object then i want to call the a function on that object that also returns the properties of said class.
class Certificate {
private $isin;
private $tradingMarket;
private $currency;
private $issuer;
private $issuingPrice;
private $currentPrice;
private $priceHistory;
private $documents;
private $serializer;
}
You can use recursion (not tested):