Skip to content

Arrays ​

php
final class StanislasPoisson\DevTools\Arrays

Reads the parts of a configuration that is an array of unknown content.

Source: src/Arrays.php

Methods ​

map() ​

php
public static function map(array $config, string $key): array

Returns array<string, mixed> the array at the key, none if it is not an array

strings() ​

php
public static function strings(array $config, string $key): array

Returns list<string> the strings of the array at the key

Documentation of 1.1.1 , built from 671a0b4 on 1.1.1 by pipeline #38133304549 on 2026-10-10.