Schematic
Schematic copied to clipboard
Minimalistic library that helps your IDE to understand a structure of associative arrays in your PHP applications
Hi, I am using your library in my own library. I run tests also against PHP8.1. I have an issue with an override of `Schematic\Entry::jsonSerialize()` as you can see here:...
PHP 8.1 requires return types in interface implementations, in this case Iterator and JsonSerializable. Adding #[\ReturnTypeWillChange] keeps backwards compatibility with older versions of PHP (required 'mixed' arrived in 8.1). See...
Ahoj, řeším problém s nepovinným parametrem a zjištěním jeho stavu. Mějme např. následující strukturu, kde `otherData` může být pole hodnot, ale může být i `null` nebo prázdné pole. ```php $data...
Hello, Entries are **read-only**, which is clearly stated in documentation. What do you think about marking following `\Schematic\Entry` variables as protected? - $data - $entriesClass This way I can extend...