References ArrayTrait
Reference
T
Trait

ApiPlatform\Util\ArrayTrait

trait ApiPlatform\Util\ArrayTrait
{
    public isSequentialArrayOfArrays(array $array): bool
    public isSequentialArray(array $array): bool
    public arrayContainsOnly(array $array, string $type): bool
}

Methods

isSequentialArrayOfArrays

public isSequentialArrayOfArrays(array $array): bool

Parameters

arrayarray

Returns

bool

isSequentialArray

public isSequentialArray(array $array): bool

Parameters

arrayarray

Returns

bool

arrayContainsOnly

public arrayContainsOnly(array $array, string $type): bool

Parameters

arrayarray
typestring

Returns

bool

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop