public function subMenu()
    {
        $nb = $this->spawn('subMenu', new Collection());

        $subs = $this->active()->children();
        foreach ($subs as $s) {
            $nb->add($s->title, $s->url());
        }

        return $nb;
    }
public function subMenu()
    {
        $nb = $this->spawn('subMenu', new Collection());

        $subs = $this->active()->children();
        foreach ($subs as $s) {
            $nb->add($s->title, $s->url());
        }

        return $nb;
    }
public function subMenu ( ) { $ nb = $ this -> spawn ( 'subMenu' , new Collection ( ) ) ; $ subs = $ this -> active ( ) -> children ( ) ; foreach ( $ subs as $ s ) { $ nb -> add ( $ s -> title , $ s -> url ( ) ) ; } return $ nb ; }
Returns a new builder with the active items children.

@return Builder
Returns a new builder with the active items children .