class Check extends AbstractObject implements IdAble, Node

Properties

$lastQuery from  AbstractObject

Methods

__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

string
checkType()

The type of check: 'check' for annotated checks, 'generate' for generate-as-checks

bool
completed()

Whether the check completed

string
description()

The description of the check

Error|null
error()

If the check failed, this is the error

Id
id()

A unique identifier for this Check.

string
name()

Return the fully qualified name of the check

originalModule()

The original module in which the check has been defined

bool
passed()

Whether the check passed

array
path()

The path of the check within its module

string
resultEmoji()

An emoji representing the result of the check

run()

Execute the check

Details

in AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

Parameters

AbstractClient $client
QueryBuilderChain $queryBuilderChain

in AbstractObject at line 19
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

Parameters

QueryBuilder $leafQueryBuilder
string $leafKey

Return Value

null|array|string|int|float|bool

at line 16
string checkType()

The type of check: 'check' for annotated checks, 'generate' for generate-as-checks

Return Value

string

at line 25
bool completed()

Whether the check completed

Return Value

bool

at line 34
string description()

The description of the check

Return Value

string

at line 43
Error|null error()

If the check failed, this is the error

Return Value

Error|null

at line 57
Id id()

A unique identifier for this Check.

Return Value

Id

at line 66
string name()

Return the fully qualified name of the check

Return Value

string

at line 75
Module originalModule()

The original module in which the check has been defined

Return Value

Module

at line 84
bool passed()

Whether the check passed

Return Value

bool

at line 93
array path()

The path of the check within its module

Return Value

array

at line 102
string resultEmoji()

An emoji representing the result of the check

Return Value

string

at line 111
Check run()

Execute the check

Return Value

Check