public final class PhpVersion extends ExpandableStringEnum<PhpVersion>
Modifier and Type | Field and Description |
---|---|
static PhpVersion |
OFF
Static value 'Off' for PhpVersion.
|
static PhpVersion |
PHP5_5
Static value 5.5 for PhpVersion.
|
static PhpVersion |
PHP5_6
Static value 5.6 for PhpVersion.
|
static PhpVersion |
PHP7
Static value 7.0 for PhpVersion.
|
static PhpVersion |
PHP7_1
Static value 7.1 for PhpVersion.
|
Constructor and Description |
---|
PhpVersion() |
Modifier and Type | Method and Description |
---|---|
static PhpVersion |
fromString(String name)
Finds or creates a PHP version based on the specified name.
|
static Collection<PhpVersion> |
values() |
equals, fromString, hashCode, toString, values, withNameValue
public static final PhpVersion OFF
public static final PhpVersion PHP5_5
public static final PhpVersion PHP5_6
public static final PhpVersion PHP7
public static final PhpVersion PHP7_1
public static PhpVersion fromString(String name)
name
- a namepublic static Collection<PhpVersion> values()
Copyright © 2019. All rights reserved.