getModules() public method
Returns all ancestor modules of this controller.
The first module in the array is the outermost one (i.e., the application instance), while the last is the innermost one.
| public yii\base\Module[] getModules ( ) | ||
|---|---|---|
| return | yii\base\Module[] | 
 All ancestor modules that this controller is located within.  |  
Please login to continue.