app\models\Permission::hasRole PHP Method