Document attribute resolver and related PhpEngine#8296
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new CakePHP 6.0 documentation for the AttributeResolver system and documents the new OPcache-backed PhpEngine cache engine, with cross-links and sidebar navigation updates.
Changes:
- Adds a new Core Libraries page documenting
AttributeResolverconfiguration, querying/filtering APIs, caching/warming, and console commands. - Extends caching documentation with the
Phpcache engine overview and a dedicatedPhpEngineoptions section. - Adds a cross-reference from Attribute Routing and updates the English sidebar TOC to include the new page.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docs/en/development/attribute-routing.md | Adds a cross-reference to the new Attribute Resolver page near the “Getting Started” section. |
| docs/en/core-libraries/caching.md | Documents the new Php cache engine and adds a PhpEngine options section + notes about non-atomic increment/decrement. |
| docs/en/core-libraries/attribute-resolver.md | New documentation page covering configuration, APIs, caching/warming strategies, CLI commands, and plugin scanning behavior. |
| .vitepress/toc_en.json | Adds “Attribute Resolver” to the Core Libraries sidebar section. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds documentation for the
AttributeResolversystem introduced in CakePHP 6.0 (cakephp/cakephp#19206, cakephp/cakephp#19293) and the newPhpEnginecache engine.A new
core-libraries/attribute-resolver.mdpage covers configuration, theAttributeCollectionfilter API,AttributeInfoandAttributeTargetvalue objects, multiple named configurations, caching withPhpEngine, cache warming and automation strategies, all three console commands (attributes list,attributes inspect,attributes warm), plugin scanning behaviour, and a custom integration example.The caching page gains a
PhpEngineentry in the engine list and a dedicated options section explaining OPcache-backed reads and the limitations around atomic operations.The attribute routing page is updated with a cross-reference to the new page, and "file-based routing" is renamed to "config-based routing" throughout. The sidebar TOC is updated to include the new page under Core Libraries.