| 1 | <?php |
||
| 12 | abstract class Entity |
||
| 13 | { |
||
| 14 | public function __invoke(Request $request, Response $response, Admin $app) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Helper to build the entity form. |
||
| 28 | * |
||
| 29 | * @param EntityInterface $entity |
||
| 30 | * @param Admin $app |
||
| 31 | * @param mixed|null $id |
||
| 32 | * |
||
| 33 | * return \Folk\Formats\Form |
||
| 34 | */ |
||
| 35 | protected static function createForm(EntityInterface $entity, Admin $app, $id = null) |
||
| 51 | } |
||
| 52 |