public static function activeTree(NavigationTree $tree, Request $request) {
        self::activeNodes($request, $tree->getNodes());
    }
public static function activeTree(NavigationTree $tree, Request $request) {
        self::activeNodes($request, $tree->getNodes());
    }
public static function activeTree ( NavigationTree $ tree , Request $ request ) { self :: activeNodes ( $ request , $ tree -> getNodes ( ) ) ; }
Active the tree.

@param NavigationTree $tree The tree.
@param Request $request The request.
@return void
Active the tree .