title: impresspages parse the renturn data from getMenuItems class
body: <p>I want to build a custom menu output so I am calling this class:</p>
  
  <pre><code>$pages = \Ip\Menu\Helper::getMenuItems('menu1');
  </code></pre>
  
  <p>It returns this:  </p>
  
  <pre><code>Array
  (
  [0] =&gt; Ip\Menu\Item Object
      (
          [title:protected] =&gt; Home
          [pageTitle:protected] =&gt; 
          [url:protected] =&gt; http://porto.gigaweb.me/home
          [target:protected] =&gt; 
          [selected:protected] =&gt; 
          [current:protected] =&gt; 1
          [children:protected] =&gt; Array
              (
                  [0] =&gt; Ip\Menu\Item Object
                      (
                          [title:protected] =&gt; Lorem ipsum
                          [pageTitle:protected] =&gt; 
                          [url:protected] =&gt; http://porto.gigaweb.me/lorem-ipsumy
                          [target:protected] =&gt; 
                          [selected:protected] =&gt; 
                          [current:protected] =&gt; 
                          [children:protected] =&gt; 
                          [depth:protected] =&gt; 2
                          [disabled:protected] =&gt; 0
                          [blank:protected] =&gt; 0
                      )
  
                  [1] =&gt; Ip\Menu\Item Object
                      (
                          [title:protected] =&gt; about
                          [pageTitle:protected] =&gt; 
                          [url:protected] =&gt; http://porto.gigaweb.me/about
                          [target:protected] =&gt; 
                          [selected:protected] =&gt; 
                          [current:protected] =&gt; 
                          [children:protected] =&gt; 
                          [depth:protected] =&gt; 2
                          [disabled:protected] =&gt; 0
                          [blank:protected] =&gt; 0
                      )
              )
          [depth:protected] =&gt; 1
          [disabled:protected] =&gt; 0
          [blank:protected] =&gt; 0
      )
  )
  </code></pre>
  
  <p>I have tried to turn it into an array but it returns value like this [*title].
  I want to loop through it and output the values but cant seem to do it.</p>