📜  symfony 将实体转换为数组 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:51.949000             🧑  作者: Mango

代码示例1
$entityAsArray = $this->serializer->normalize($entity, null);