Page MenuHomeWickedGov Phorge

ListType.php
No OneTemporary

Size
622 B
Referenced Files
None
Subscribers
None

ListType.php

<?php
namespace Wikimedia\Message;
/**
* The constants used to specify list types. The values of the constants are an
* unstable implementation detail.
*/
enum ListType: string {
/** A comma-separated list */
case COMMA = 'comma';
/** A semicolon-separated list */
case SEMICOLON = 'semicolon';
/** A pipe-separated list */
case PIPE = 'pipe';
/** A natural-language list separated by "and" */
case AND = 'text';
/**
* Return the ListTypes, as an array of string flag values.
* @return list<string>
*/
public static function values(): array {
return array_column( self::cases(), 'value' );
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 23, 00:41 (3 d, 5 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
14/1d/48936b185495c3207a114571f555
Default Alt Text
ListType.php (622 B)

Event Timeline