Skip to content

Conversation

basakest
Copy link
Contributor

No description provided.

src/Adapter.php Outdated
}

$command = $this->casbinRule->getDb()->createCommand();
$tableName = \Yii::$app->permission->config['database']['casbin_rules_table'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@basakest Please use $this->casbinRule->tableName() to get the table name, and use static calls for static methods .

feat: support Casbin BatchAdapter interface
@leeqvip leeqvip merged commit 7490b7f into php-casbin:master Aug 29, 2021
@leeqvip
Copy link
Member

leeqvip commented Aug 29, 2021

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants