@@ -75,6 +75,10 @@ discard block |
||
| 75 | 75 | return array_diff($ids, $this->categories->pluck('id')->toArray()); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | + /** |
|
| 79 | + * @param string $name |
|
| 80 | + * @param string $table |
|
| 81 | + */ |
|
| 78 | 82 | abstract public function morphToMany( |
| 79 | 83 | $related, |
| 80 | 84 | $name, |
@@ -86,5 +90,8 @@ discard block |
||
| 86 | 90 | $inverse = false |
| 87 | 91 | ); |
| 88 | 92 | |
| 93 | + /** |
|
| 94 | + * @param string $relations |
|
| 95 | + */ |
|
| 89 | 96 | abstract public function load($relations); |
| 90 | 97 | } |