protected function populateForeignKeys(array $formatters, $seeding)
    {
        foreach ($this->relations as $relation) {
            if ($relation instanceof MorphTo) {
                $this->associateMorphTo($formatters, $relation, $seeding);
            } elseif ($relation instanceof BelongsTo) {
                $this->associateBelongsTo($formatters, $relation, $seeding);
            }
        }

        return $formatters;
    }