Documentation

TypedArrayTraitKeyTest extends TypedArrayPrimitiveKeyTest

Tags
group

key

Table of Contents

dataProvider()  : array<int|string, array<int|string, mixed>>
test()  : void
createInstance()  : TypedArray<mixed, mixed>

Methods

dataProvider()

public dataProvider() : array<int|string, array<int|string, mixed>>
Return values
array<int|string, array<int|string, mixed>>

test()

public test(string $keyType, array<int, mixed> $keys, array<int, mixed>|Exception|null $expected) : void
Parameters
$keyType : string
$keys : array<int, mixed>
$expected : array<int, mixed>|Exception|null
Tags
dataProvider

dataProvider

phpstan-param

list $keys

phpstan-param

Exception|list|null $expected

Return values
void

createInstance()

protected createInstance(string $keyType) : TypedArray<mixed, mixed>
Parameters
$keyType : string
Tags
phpstan-param

class-string $keyType

Return values
TypedArray<mixed, mixed>

Search results