My project has a module that has a directory structure for the mvc pattern.
The path to the module class:
$r->addAPIClass(\api\modules\app\versions\v1\controllers\UserController);.
Restler is currently converting this path to find the class as "\api\modules\app\versions\v1\controllers\v1\UserController"
It would be very convenient to manually specify the position "v{$version}".
I made changes that now allow this to be done. I manually indicate the version position in the api class path.
$r->addAPIClass('\api\modules\app\versions\v{$version}\controllers\UserController', '');
Restler converts this path to find the class as "\api\modules\app\versions\v1\controllers\UserController".
My project has a module that has a directory structure for the mvc pattern. The path to the module class:
$r->addAPIClass(\api\modules\app\versions\v1\controllers\UserController);
. Restler is currently converting this path to find the class as "\api\modules\app\versions\v1\controllers\v1\UserController" It would be very convenient to manually specify the position "v{$version}". I made changes that now allow this to be done. I manually indicate the version position in the api class path.$r->addAPIClass('\api\modules\app\versions\v{$version}\controllers\UserController', '');
Restler converts this path to find the class as "\api\modules\app\versions\v1\controllers\UserController".