commands/RbacController.php
public function actionInit() {
    $rbac = new Rbac();
    $rbac->initRolesAndActions();
    $this->stdout(Yii::t('users', 'Roles updated') . "\n", Console::FG_GREEN);
  }
public function actionInit() {
    $rbac = new Rbac();
    $rbac->initRolesAndActions();
    $this->stdout(Yii::t('users', 'Roles updated') . "\n", Console::FG_GREEN);
  }
public function actionInit ( ) { $ rbac = new Rbac ( ) ; $ rbac -> initRolesAndActions ( ) ; $ this -> stdout ( Yii :: t ( 'users' , 'Roles updated' ) . "\n" , Console :: FG_GREEN ) ; }
Init all roles
Init all roles