/** * Factory method for an Ordered list * * @return ListElement the new instance List as an ordered list */ public static function createOrdered() { $list = new self(); $list->enableOrdered(); return $list; }