Auth0-PHP

StringFilter
in package

Class StringFilter.

Table of Contents

$subjects  : array<string|int, mixed>
__construct()  : mixed
StringFilter constructor.
trim()  : array<string|int, string|null>
Nullsafe trim. Trims the array of string values, or sets their value when invalid or empty.

Properties

Methods

__construct()

StringFilter constructor.

public __construct(array<string|int, string|null> $subjects) : mixed
Parameters
$subjects : array<string|int, string|null>

an array of string or null values

Return values
mixed

trim()

Nullsafe trim. Trims the array of string values, or sets their value when invalid or empty.

public trim() : array<string|int, string|null>
Return values
array<string|int, string|null>

Search results