private function replaceModelName($content)
    {
        $newContent = '';
        $content = str_replace('new %modelName%', 'new '.$this->model, $content);
        $content = str_replace('%StaticModelName%', $this->model, $content);
        $content = str_replace('new %StaticModelName%()', $this->model, $content);
        $newContent = str_replace('%modelName%', Inflector::tabilize($this->model), $content);

        return $newContent;
    }