class Composite implements PrerequisiteInterface

Properties

protected PrerequisiteInterface[] $prerequisites

Methods

__construct(PrerequisiteInterface $first)

No description

Collection
problems()

Verify that this prerequisite is fulfilled.

Details

__construct(PrerequisiteInterface $first)

Parameters

PrerequisiteInterface $first

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