Returns a series of values extracted from an array, formatted in a format string.
public static format ( array $data, string $format, array $keys ) : array | ||
$data | array | Source array from which to extract the data. |
$format | string | Format string into which values will be inserted using `sprintf()`. |
$keys | array | An array containing one or more `Set::extract()`-style key paths. |
return | array | An array of strings extracted from `$keys` and formatted with `$format`. |