public function prePersist(LifecycleEventArgs $args) //the first entity will have the PMP, so we catch it and continue to skip this if after this **/它保存了我的层次结构中的所有东西,甚至是一个新的PMP</
: Person) {}
getAge({age: 16, classes: '5-4'}) // ok
getAge({age: 20, salary: 1000, classes: '5-4'}) // Should be error but type checker success如何编写函数签名以防止getAge({age: 20,