@@ -195,7 +195,15 @@ |
||
195 | 195 | ->orderBy('position'); |
196 | 196 | } |
197 | 197 | |
198 | + /** |
|
199 | + * @param string $foreignKey |
|
200 | + */ |
|
198 | 201 | abstract public function hasMany($related, $foreignKey = null, $localKey = null); |
199 | 202 | |
203 | + /** |
|
204 | + * @param string $table |
|
205 | + * @param string $foreignKey |
|
206 | + * @param string $otherKey |
|
207 | + */ |
|
200 | 208 | abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null); |
201 | 209 | } |