Set of classes for organize hierarchy of items in PHP