final |
|---|
Range-aware PHP version check that handles version uncertainty. Unlike PhpVersion (which represents a single known version), PhpVersions wraps a Type representing the possible PHP versions. When the exact version is known, queries return Yes/No. When a range of versions is possible, queries return Maybe. This is the return type of Scope::getPhpVersion().
| Methods | ||
|---|---|---|
public
|
__construct(Type $phpVersions)
|
# |
public
|
getType(): Type
|
# |
public
|
supportsNoncapturingCatches(): TrinaryLogic
|
# |
public
|
producesWarningForFinalPrivateMethods(): TrinaryLogic
|
# |
public
|
supportsNamedArguments(): TrinaryLogic
|
# |
public
|
supportsNamedArgumentAfterUnpackedArgument(): TrinaryLogic
|
# |
public
|
supportsTrueAndFalseStandaloneType(): TrinaryLogic
|
# |
public
|
supportsMaxMemoryLimit(): TrinaryLogic
|
# |