CodeExplorer getExtjsType example
$fields =
[ [ 'name' => 'id',
'type' => 'int',
],
];
foreach ($type->
getFields() as $field) { $fields[] =
[ 'name' =>
$field->
getName(),
'type' =>
$field->
getType()::
getExtjsType(),
'useNull' => !
$field->
isRequired(),
];
} return $fields;
} public function buildColumns(Type
$type): array
{ $fields =
[];