I'm getting objects from JSON string in my PHP code. I want my IDE (NetBeans) to know the parameters of the objects without creating special class for them.
Can I do it?
It would look something like:
$obj = json_decode($string);
/**
* @var $obj {
* @property int $id
* @property string $label
* }
*/