class_basename

The class_basename function returns the class name of the given class with the class's namespace removed:
<?php $class = class_basename('Foo\Bar\Baz');
<?php             return 'Route '.$item->url();

        }



        return class_basename($item).' '.$item->id();

    }

}