Expand description
app/Http/Controllers/*.php → enriches Phase 1’s already-generated
todo!() controller stubs (convert.rs’s generate_controller_stubs,
driven by routes::referenced_controllers) with each stubbed method’s
original PHP body preserved as a comment - no logic translation,
no smarter parameter typing (both explicitly out of scope, natural
later enhancements). If the real source controller file doesn’t exist,
or a specific stubbed method isn’t found in it, that method just gets
Phase 1’s existing bare stub - this module only ever adds a comment,
never removes Phase 1’s own guarantee that every referenced method
compiles.
Structs§
Functions§
- convert
methodsis the exact(controller, [methods])list Phase 1 already computed (routes::referenced_controllers) - this module doesn’t re-derive which methods matter, only enriches their stub bodies.