public function newForeignModel() { $schema = $this->newForeignSchema(); $modelClass = $schema->getModelClass(); return new $modelClass(); }