yiisoft/yii2 — pull request #3166 by evgen-d (2014-04-18 11:35:14+00:00)
Title: RBAC: cache items

cache some items in array for yii\web\User::can($permissionName, $params = [], $allowCaching = true)

it will help get rid of duplicate db queries