/** * @inheritdoc * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { return parent::find()->andWhere([Yii::$app->yee->auth_item_table . '.type' => static::ITEM_TYPE]); }