\duncan3dc\MockArguments

Summary

Methods
Properties
Constants
__construct()
getValues()
equal()
canAccept()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$values
N/A

Properties

$values

$values : array|null

Type

array|null — The arguments this instance represents.

Methods

__construct()

__construct(array  $values = null) 

Create a new instance.

Parameters

array $values

The arguments this instance represents.

getValues()

getValues() : array

Get the values these arguments represent.

Returns

array

equal()

equal(self  $arguments) : boolean

Check if the specified arguments are identical to the expected arguments.

Parameters

self $arguments

The arguments to check

Returns

boolean

canAccept()

canAccept(self  $arguments) : boolean

Check if the specified arguments are acceptable as a match for the expected arguments.

Parameters

self $arguments

The arguments to check

Returns

boolean

__toString()

__toString() : string

Create a user friendly version of the arguments.

Returns

string