| Total Complexity | 6 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class TableSyncObserver |
||
| 10 | { |
||
| 11 | private $syncer; |
||
| 12 | |||
| 13 | 12 | public function __construct(Syncer $syncer) |
|
| 14 | { |
||
| 15 | 12 | $this->syncer = $syncer; |
|
| 16 | } |
||
| 17 | |||
| 18 | 12 | public function created(SyncableModel $model): void |
|
| 21 | } |
||
| 22 | |||
| 23 | 5 | public function updated(SyncableModel $model): void |
|
| 26 | } |
||
| 27 | |||
| 28 | 5 | public function deleted(SyncableModel $model): void |
|
| 38 |