setAliases() public method
Defines path aliases.
This method calls Yii::setAlias() to register the path aliases. This method is provided so that you can define path aliases when configuring a module.
public void setAliases ( $aliases ) | ||
---|---|---|
$aliases | array |
List of path aliases to be defined. The array keys are alias names (must start with [ '@models' => '@app/models', // an existing alias '@backend' => __DIR__ . '/../backend', // a directory ] |
Please login to continue.