Commit 7d618eb
authored
Refactor code. (#240)
* Move SchemaCache::class to Schema::class.
* Remove LazyConnectionDependencies::class, add setLogger(), setProfiler().
* Implement LoggerInterface::class and ProfilerInterface::class as optional.
* Add QueryCache::class in construct() Command::class.
* Interface 'QueryInterface' Missing 'select' method declaration (#221).
* Remove unnecessary DatabaseFactory.php.
* Remove unnecessary getters.
* better naming setMasters() and setSlaves().
* Remove duplicate code all packages.
* Remove yiisoft/di.
Co-authored-by: Wilmer Arambula <terabytesoftw@users.noreply.github.com>1 parent b373efc commit 7d618eb
12 files changed
Lines changed: 513 additions & 470 deletions
File tree
- src
- AwareTrait
- Command
- Connection
- Factory
- Query
- Schema
- TestUtility
- Transaction
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments