public function morphMany($related, $name, $type = null, $id = null) { $instance = new $related(); list($type, $id) = $this->getMorphs($name, $type, $id); return new MorphMany($instance->newQuery(), $this, $type, $id); }