<?php class MigratinoClassGenerator { public function generate(string $className) { $ref = new ReflectionClass($className); $properties = $ref->getProperties(); $migrationClass = new MigrationClass(); foreach ($properties as $property) { $migrationClass->addColumn($property->getName()); } return $migrationClass->generate($ref->getName()); } } class MigrationClass { private $columns = []; public fu