Skip to content

Commit 501f055

Browse files
committed
feat: Dependency Injection configuration
1 parent aabe5ea commit 501f055

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@
99

1010
An authorization library that supports access control models like ACL, RBAC, ABAC for webman plugin
1111

12-
# 安装
12+
# Install
1313

14+
Composer Install
1415
```sh
1516
composer require -W casbin/webman-permission
1617
```
1718

18-
# 使用
19+
# Use
1920

20-
## 依赖注入配置
21+
## Dependency Injection configuration
2122

22-
修改配置`config/container.php`,其最终内容如下:
23+
Modify the `config/container.php` configuration to perform the following final contents:
2324

2425
```php
2526
$builder = new \DI\ContainerBuilder();
@@ -28,7 +29,7 @@ $builder->useAutowiring(true);
2829
return $builder->build();
2930
```
3031

31-
## 数据库配置
32+
## Database configuration
3233

3334
默认策略存储是使用的ThinkORM。
3435

0 commit comments

Comments
 (0)