mirror of
https://github.com/danog/parser.git
synced 2024-12-02 17:38:16 +01:00
17 lines
152 B
PHP
17 lines
152 B
PHP
<?php
|
|
|
|
enum Foo {
|
|
case Bar;
|
|
}
|
|
|
|
enum Bar: string {
|
|
case Baz = 'car';
|
|
}
|
|
|
|
enum Baz: int {
|
|
case Caz = 'boo';
|
|
}
|
|
|
|
enum Foo implements Bob {
|
|
|
|
} |