getControllerPath() public method
Returns the directory that contains the controller classes according to $controllerNamespace.
Note that in order for this method to return a value, you must define an alias for the root namespace of $controllerNamespace.
public string getControllerPath ( ) | ||
---|---|---|
return | string |
The directory that contains the controller classes. |
throws | yii\base\InvalidParamException |
if there is no alias defined for the root namespace of $controllerNamespace. |
Please login to continue.