Rewrite docs#236
Conversation
Remove deployment, fixtures, migrations, autocomplete, pdf, and components.html — these document default Symfony or third-party behaviour, not this bundle. Merge docs/frontend/mails.md into docs/mails.md and move all remaining docs to docs/ root. Delete docs/deployment/, docs/development/, and docs/frontend/ subdirectories. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Includes subsystem table, request lifecycle diagram, key injectable services, PHP attributes reference, and pointers to external packages that were previously documented in removed stub files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All four were 6-15 lines with no actionable detail. Now each follows the standard format: purpose, prerequisites, usage, options, examples, troubleshooting. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- using-date-pickers: fix cut-off code block, add full options table and troubleshooting - forms: document ImageType, FileType, BelgiumPostCodeType + all type extensions (CollectionType, PasswordType, date/time pickers) with full option tables - menu: fix typo in example (extra quote), add icon usage, active-state patterns, dropdown example, troubleshooting - pagination: fix session key inconsistency (vegetation_filter -> user_filter), add full Paginator API reference table, sorting example, troubleshooting - mails: already merged from frontend/mails.md in commit 1 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Each doc now has: one-line purpose, prerequisites, options/reference table, usage examples, and troubleshooting section. - audit-trail: add log format key table (C/U/D), options table, troubleshooting; fix typo AuditTrial -> AuditTrail - breadcrumb: add options table, Twig rendering section, troubleshooting - title: add options table, troubleshooting - uploading-files/images: modernize entity examples from annotations to PHP 8 attributes (#[ORM\*]); remove FOSUserBundle references; add troubleshooting - ajax-client: add prerequisites, multipart upload example, troubleshooting - button-locations: add purpose line, accessibility notes - language-switch: expand locales config, fix Twig snippet formatting, add troubleshooting - stimulus: add prerequisites, lifecycle hooks reference table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- CLAUDE.md: update subsystem links from docs/development/* to docs/*, fix BreadcrumbListener event name (controller_arguments, not controller), update Documentation section to point to docs/index.md and describe the doc format standard - README.md: improve description to name specific subsystems, update Documentation section to point to docs/index.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reviewer's GuideRewrite and reorganize documentation for multiple bundle subsystems (audit trail, breadcrumbs, titles, forms, uploads, pagination, menus, frontend, etc.), moving docs out of File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
2ba5bcc to
b6d415c
Compare
| IndexController.php | ||
| CreateController.php | ||
| UpdateController.php | ||
| DeleteController.php |
There was a problem hiding this comment.
Hmm ik smijt dat eigenlijk zo goed als altijd in de UpdateController (en dan via modal in template)
| Controller/ | ||
| Item/ | ||
| Admin/ | ||
| IndexController.php |
There was a problem hiding this comment.
Ik doe meestal OverviewController
| create.html.twig | ||
| update.html.twig | ||
| translations/ | ||
| messages.en.yaml |
There was a problem hiding this comment.
Zou het "beter" zijn om de icu-versie te gebruiken? En mss ook direct NL? messages+intl-icu.nl.yaml
| $this->name = $name; | ||
| } | ||
|
|
||
| public function getId(): ?int { return $this->id; } |
There was a problem hiding this comment.
Niet beter om het op extra lijn te zetten voor code styling?
public function getId(): ?int
{
return $this->id;
}
|
|
||
| ## DataTransferObject | ||
|
|
||
| `ItemDataTransferObject` holds the form fields for both create and update. Use the constructor to set initial values. |
There was a problem hiding this comment.
Hmm, hier doet ik in DTO eigenlijk nooit constructor en doe ik het pas in UpdateMessage (dan wel met entity in constructor)
| ); | ||
| } | ||
|
|
||
| public function save(Item $item, bool $flush = true): void |
There was a problem hiding this comment.
Hmm ik doe meestal een add method en een save method, want bij update is persist van entity niet nodig
|
|
||
| ```bash | ||
| # Install dependencies | ||
| composer install |
There was a problem hiding this comment.
Beter aanpassen naar symfony composer
| composer install | ||
|
|
||
| # Run tests | ||
| ./vendor/bin/phpunit |
There was a problem hiding this comment.
Best symfony php bijzetten
Summary by Sourcery
Rewrite and reorganize documentation for the FrameworkCoreBundle, consolidating developer and frontend docs into a clearer top-level docs structure without changing runtime code.
Documentation: