Documentation

ArrayArgumentProcessor
in package

Table of Contents

Properties

$arrayArgumentHelper  : ArrayArgumentHelper

Methods

processArguments()  : array<string|int, mixed>
evaluateMatrixPair()  : array<string|int, mixed>
evaluateNthArgumentAsArray()  : array<string|int, mixed>
Note, offset is from 1 (for the first argument) rather than from 0.
evaluateVectorMatrixPair()  : array<string|int, mixed>
evaluateVectorPair()  : array<string|int, mixed>

Properties

Methods

processArguments()

public static processArguments(ArrayArgumentHelper $arrayArgumentHelper, callable $method, mixed ...$arguments) : array<string|int, mixed>
Parameters
$arrayArgumentHelper : ArrayArgumentHelper
$method : callable
$arguments : mixed
Return values
array<string|int, mixed>

evaluateMatrixPair()

private static evaluateMatrixPair(callable $method, array<string|int, mixed> $matrixIndexes, mixed ...$arguments) : array<string|int, mixed>
Parameters
$method : callable
$matrixIndexes : array<string|int, mixed>
$arguments : mixed
Return values
array<string|int, mixed>

evaluateNthArgumentAsArray()

Note, offset is from 1 (for the first argument) rather than from 0.

private static evaluateNthArgumentAsArray(callable $method, int $nthArgument, mixed ...$arguments) : array<string|int, mixed>
Parameters
$method : callable
$nthArgument : int
$arguments : mixed
Return values
array<string|int, mixed>

evaluateVectorMatrixPair()

private static evaluateVectorMatrixPair(callable $method, array<string|int, mixed> $matrixIndexes, mixed ...$arguments) : array<string|int, mixed>
Parameters
$method : callable
$matrixIndexes : array<string|int, mixed>
$arguments : mixed
Return values
array<string|int, mixed>

evaluateVectorPair()

private static evaluateVectorPair(callable $method, int $rowIndex, int $columnIndex, mixed ...$arguments) : array<string|int, mixed>
Parameters
$method : callable
$rowIndex : int
$columnIndex : int
$arguments : mixed
Return values
array<string|int, mixed>

        
On this page

Search results