removed phpengine from MenuHelper __construct method. If another template engine (such as twig) was added to the config. it was causing this to break because the $template being passed in was not of the class phpengine.
added twig template version of the menuItem view
changed menuhelper to use twig template and not php template