Skip to content

RowCaster ​

php
final class StanislasPoisson\FrenchPostalCode\Core\RowCaster

Gives the values of a row the type their column has, so that every database receives numbers as numbers.

Source: src/Core/RowCaster.php

Methods ​

cast() ​

php
public function cast(array $row, array $types): array
ParameterDescription
$typesthe Table Schema type of each column

Returns array<string, float|int|string|null>

Documentation of next , built from 068662f on main by pipeline #37508150537 on 2026-10-06.