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