MediaWiki master
ListType.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Message;
4
9enum ListType: string {
11 case COMMA = 'comma';
12
14 case SEMICOLON = 'semicolon';
15
17 case PIPE = 'pipe';
18
20 case AND = 'text';
21
26 public static function values(): array {
27 return array_column( self::cases(), 'value' );
28 }
@ values
A comma-separated list.
Definition ListType.php:26
ListType
The constants used to specify list types.
Definition ListType.php:9