class MemoryLimit implements PreconditionInterface (View source)

Constants

MINIMUM_MEMORY

The minimum memory limit (in bytes).

MINIMUM_RECOMMENDED_MEMORY

The minimum memory limit (in bytes).

Properties

protected Number $numberHelper

The number helper.

Methods

__construct(Number $numberHelper)

Initialize the instance.

string
getName()

Get the precondition name.

string
getUniqueIdentifier()

Get the precondition handle.

bool
isOptional()

Is this an optional precondition?

performCheck()

Get the precondition result.

Details

__construct(Number $numberHelper)

Initialize the instance.

Parameters

Number $numberHelper

the number helper

string getName()

Get the precondition name.

Return Value

string

See also

PreconditionInterface::getName

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

See also

PreconditionInterface::getUniqueIdentifier

bool isOptional()

Is this an optional precondition?

Return Value

bool

See also

PreconditionInterface::isOptional

PreconditionResult performCheck()

Get the precondition result.