/** * Define a polymorphic, inverse many-to-many relationship. * * @param string $related * @param string $name * @param string $table * @param string $foreignKey * @param string $otherKey * @return \Illuminate\Database\Eloquent\Relations\MorphToMany * @static */ public static function morphedByMany($related, $name, $table = null, $foreignKey = null, $otherKey = null) { //Method inherited from \Illuminate\Database\Eloquent\Model return \Webpatser\Countries\Countries::morphedByMany($related, $name, $table, $foreignKey, $otherKey); }