Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Domain\Item\Interfaces; |
| 4 | |
| 5 | use Illuminate\Database\Eloquent\Relations\MorphMany; |
| 6 | |
| 7 | interface HasItemsInterface |
| 8 | { |
| 9 | /** |
| 10 | * @return MorphMany |
| 11 | */ |
| 12 | public function items(): MorphMany; |
| 13 | |
| 14 | /** |
| 15 | * @return bool |
| 16 | */ |
| 17 | public function canRemove(): bool; |
| 18 | |
| 19 | /** |
| 20 | * @return bool |
| 21 | */ |
| 22 | public function canStore(): bool; |
| 23 | |
| 24 | /** |
| 25 | * @return int |
| 26 | */ |
| 27 | public function transferableKey(): int; |
| 28 | } |