PHPUnit-Expect

ChainableTrait

Provides chainable methods and properties to improve the readability of assertions.

Table of Contents

__get()  : mixed
Invokes the instance method with the specified name.
and()  : $this
Chainable method to improve the readability of an assertion.
at()  : $this
Chainable method to improve the readability of an assertion.
be()  : $this
Chainable method to improve the readability of an assertion.
been()  : $this
Chainable method to improve the readability of an assertion.
but()  : $this
Chainable method to improve the readability of an assertion.
does()  : $this
Chainable method to improve the readability of an assertion.
has()  : $this
Chainable method to improve the readability of an assertion.
have()  : $this
Chainable method to improve the readability of an assertion.
is()  : $this
Chainable method to improve the readability of an assertion.
of()  : $this
Chainable method to improve the readability of an assertion.
same()  : $this
Chainable method to improve the readability of an assertion.
still()  : $this
Chainable method to improve the readability of an assertion.
that()  : $this
Chainable method to improve the readability of an assertion.
to()  : $this
Chainable method to improve the readability of an assertion.
which()  : $this
Chainable method to improve the readability of an assertion.
with()  : $this
Chainable method to improve the readability of an assertion.

Methods

__get()

Invokes the instance method with the specified name.

public __get(string $name) : mixed
Parameters
$name : string

The name of the method to invoke.

Tags
throws
InvalidArgumentException

The specified method is not found.

Return values
mixed

The return value of the invoked method.

and()

Chainable method to improve the readability of an assertion.

public and() : $this
Return values
$this

This instance.

at()

Chainable method to improve the readability of an assertion.

public at() : $this
Return values
$this

This instance.

be()

Chainable method to improve the readability of an assertion.

public be() : $this
Return values
$this

This instance.

been()

Chainable method to improve the readability of an assertion.

public been() : $this
Return values
$this

This instance.

but()

Chainable method to improve the readability of an assertion.

public but() : $this
Return values
$this

This instance.

does()

Chainable method to improve the readability of an assertion.

public does() : $this
Return values
$this

This instance.

has()

Chainable method to improve the readability of an assertion.

public has() : $this
Return values
$this

This instance.

have()

Chainable method to improve the readability of an assertion.

public have() : $this
Return values
$this

This instance.

is()

Chainable method to improve the readability of an assertion.

public is() : $this
Return values
$this

This instance.

of()

Chainable method to improve the readability of an assertion.

public of() : $this
Return values
$this

This instance.

same()

Chainable method to improve the readability of an assertion.

public same() : $this
Return values
$this

This instance.

still()

Chainable method to improve the readability of an assertion.

public still() : $this
Return values
$this

This instance.

that()

Chainable method to improve the readability of an assertion.

public that() : $this
Return values
$this

This instance.

to()

Chainable method to improve the readability of an assertion.

public to() : $this
Return values
$this

This instance.

which()

Chainable method to improve the readability of an assertion.

public which() : $this
Return values
$this

This instance.

with()

Chainable method to improve the readability of an assertion.

public with() : $this
Return values
$this

This instance.

Search results