private function addFields($modelData)
    {
        $fields = '';
        $firstIteration = true;

        foreach ($modelData->fields as $field)
        {
            if ($firstIteration)
            {
                $fields .= self::getInputFor($field) . PHP_EOL;
                $firstIteration = false;
            }
            else
            {
                $fields .= $this->tab(2) . self::getInputFor($field) . PHP_EOL;
            }
        }

        $this->stub = str_replace('{{fields}}', $fields, $this->stub);

        return $this;
    }