Skip to content

Add singleton package documentation#9

Open
alexstandiford wants to merge 1 commit into
mainfrom
docs/singleton-package
Open

Add singleton package documentation#9
alexstandiford wants to merge 1 commit into
mainfrom
docs/singleton-package

Conversation

@alexstandiford
Copy link
Copy Markdown
Contributor

Documents the phpnomad/singleton package, which provides a trait for implementing the singleton design pattern.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Documents the phpnomad/singleton package, which provides a trait for implementing the singleton design pattern.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35b5b920e6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


## Integration with dependency injection

The PHPNomad [DI container](/packages/di/introduction) can manage singleton instances while maintaining testability:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fix internal links to non-existent package docs

This link points to /packages/di/introduction, but there is no corresponding public/docs/packages/di/introduction.md in the repository (same for /packages/enum-polyfill/…, /packages/logger/…, /packages/core/…, and /packages/facade/…), so those navigation entries will 404 in the rendered docs unless those pages are added or the links are updated to existing routes.

Useful? React with 👍 / 👎.

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.

1 participant