a guest Dec 3rd, 2018 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // Fixes empty prototype
- if (!$record->getChildren()->count())
- (new Record)
- $form = $this->createForm(ParentRecordType::class, $record);
RAW Paste Data