I want to declare params with differenc classes when i have a GET endpoint.
Example:
/**
* @param ClassA a
* @param ClassB b
...
public function getSomething() {}
public ClassA {
/**
* @param int
*/
public $i;
}
public ClassB {
...
}
Yes, using the class as a parameter works fine. See https://restler5.luracast.com/examples/_016_forms/readme.html Users class makes use of Address class
Address class is as follows