class PhpCommentsPreserved implements PreconditionInterface (View source)

Properties

protected int $docCommentCanary This is to check if comments are being stripped (Doctrine ORM depends on comments not being stripped).

Methods

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

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.

Return Value

PreconditionResult

See also

PreconditionInterface::performCheck()