Jump to content

Get properties and methods from an object


spondishy

Recommended Posts

Hi,

 

Just playing around with php at the moment and just wondered if there was a way of getting a list of all methods of an object that is being returned by an api I'm using.

 

For example, the api returns an object of type x. What methods etc does x have.

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.