CaseConvert Uses ArrayEnabled
Table of Contents
- $arrayArgumentHelper : ArrayArgumentHelper
- lower() : array<string|int, mixed>|string
- LOWERCASE.
- proper() : array<string|int, mixed>|string
- PROPERCASE.
- upper() : array<string|int, mixed>|string
- UPPERCASE.
- evaluateArrayArguments() : array<string|int, mixed>
- evaluateArrayArgumentsSubset() : array<string|int, mixed>
- evaluateSingleArgumentArray() : array<string|int, mixed>
- initialiseHelper() : void
Properties
$arrayArgumentHelper
private
static ArrayArgumentHelper
$arrayArgumentHelper
Methods
lower()
LOWERCASE.
public
static lower(mixed $mixedCaseValue) : array<string|int, mixed>|string
Converts a string value to upper case.
Parameters
- $mixedCaseValue : mixed
-
The string value to convert to lower case Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of values is passed as the argument, then the returned result will also be an array with the same dimensions
proper()
PROPERCASE.
public
static proper(mixed $mixedCaseValue) : array<string|int, mixed>|string
Converts a string value to proper or title case.
Parameters
- $mixedCaseValue : mixed
-
The string value to convert to title case Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of values is passed as the argument, then the returned result will also be an array with the same dimensions
upper()
UPPERCASE.
public
static upper(mixed $mixedCaseValue) : array<string|int, mixed>|string
Converts a string value to upper case.
Parameters
- $mixedCaseValue : mixed
-
The string value to convert to upper case Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of values is passed as the argument, then the returned result will also be an array with the same dimensions
evaluateArrayArguments()
protected
static evaluateArrayArguments(callable $method, mixed ...$arguments) : array<string|int, mixed>
Parameters
- $method : callable
- $arguments : mixed
Return values
array<string|int, mixed> —evaluateArrayArgumentsSubset()
protected
static evaluateArrayArgumentsSubset(callable $method, int $limit, mixed ...$arguments) : array<string|int, mixed>
Parameters
- $method : callable
- $limit : int
- $arguments : mixed
Return values
array<string|int, mixed> —evaluateSingleArgumentArray()
protected
static evaluateSingleArgumentArray(callable $method, array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
- $method : callable
- $values : array<string|int, mixed>
Return values
array<string|int, mixed> —initialiseHelper()
private
static initialiseHelper(array<string|int, mixed> $arguments) : void
Parameters
- $arguments : array<string|int, mixed>