abstract class Assert extends Assert (View source)

internal  This class is not meant to be used or overwritten outside the framework itself.
 

Methods

static void
assertArraySubset(ArrayAccess|array $subset, ArrayAccess|array $array, bool $checkForIdentity = false, string $msg = '')

Asserts that an array has a specified subset.

Details

static void assertArraySubset(ArrayAccess|array $subset, ArrayAccess|array $array, bool $checkForIdentity = false, string $msg = '')

Asserts that an array has a specified subset.

Parameters

ArrayAccess|array $subset
ArrayAccess|array $array
bool $checkForIdentity
string $msg

Return Value

void