Documentation

RequiresPhpExtension
in package

FinalYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Properties

$extension  : string
$versionRequirement  : string|null

Methods

__construct()  : mixed
extension()  : string
versionRequirement()  : string|null

Attributes

#[Attribute]

#[Attribute]

Properties

$versionRequirement read-only

private string|null $versionRequirement
Tags
psalm-var

null|non-empty-string

Methods

__construct()

public __construct(string $extension[, string|null $versionRequirement = null ]) : mixed
Parameters
$extension : string
$versionRequirement : string|null = null
Tags
psalm-param

non-empty-string $extension

psalm-param

null|non-empty-string $versionRequirement

extension()

public extension() : string
Tags
psalm-return

non-empty-string

Return values
string

versionRequirement()

public versionRequirement() : string|null
Tags
psalm-return

null|non-empty-string

Return values
string|null

        
On this page

Search results