* @category Class * @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License * @link www.splendidbear.org * @since 2026. 04. 21. * * @extends PersistentProxyObjectFactory */ class GridRowFactory extends PersistentProxyObjectFactory { protected function defaults(): array { $columns = []; for ($i = 0; $i < 16; $i++) { $columns[] = self::faker()->numberBetween(0, 8); } return [ 'gridCol' => $columns, ]; } public static function class(): string { return GridRow::class; } public function withColumns(array $columns): self { return $this->with(['gridCol' => $columns]); } }