Skip to content

Conversation

othercorey
Copy link
Member

@othercorey othercorey added this to the 5.next milestone Sep 20, 2025
@othercorey othercorey force-pushed the container-attribute branch 3 times, most recently from 6dfb593 to 9baf482 Compare September 20, 2025 19:28
@othercorey
Copy link
Member Author

Is there a generic container section we should add this to?

@markstory
Copy link
Member

Is there a generic container section we should add this to?

There is this page https://book.cakephp.org/5/en/development/dependency-injection.html

@othercorey othercorey force-pushed the container-attribute branch 2 times, most recently from d2c6018 to 477226b Compare September 21, 2025 21:07
public function __construct(
#[Configure('MyService.apiKey')] protected string $apiKey,
) { }
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add a link to the dependency injection docs instead?

@othercorey othercorey merged commit da40248 into 5.next Sep 25, 2025
3 checks passed
@othercorey othercorey deleted the container-attribute branch September 25, 2025 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants