class PhpVersion implements PrerequisiteInterface

Properties

protected $minVersion

Methods

__construct($minVersion)

No description

Collection
problems()

Verify that this prerequisite is fulfilled.

Details

__construct($minVersion)

Parameters

$minVersion

Collection problems()

Verify that this prerequisite is fulfilled.

If everything is okay, this method should return an empty Collection instance. When problems are detected, it should return a Collection of arrays, each having at least a "message" and optionally a "detail" key.

Return Value

Collection