private function setLinks($links, stdClass $scaffolderConfig)
    {
        $navLinks = '';

        foreach ($links as $link)
        {
            $navLinks .= sprintf("
            <li>
                <a href='/%s' class='waves-effect'>
                    %s
                </a>
            </li>", $scaffolderConfig->routing->prefix . '/' . strtolower($link['modelName']), $link['modelLabel']);
        }

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

        return $this;
    }