extends创建工具类遇到的问题?
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.7k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
1、定义的类,是不是不需要定义namespace。是框架路由自动定义的吗?
2、看样例,extends的类方法都定义为“静态”,可以定义类的方法为“动态”吗?我不知道如何在Action里面引用extends的动态方法?
请指教一下,这个坎过不去,哈。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Review the existing framework examples and the Action/extends usage discussed in the message, then clarify namespace handling and whether instance methods are supported there. Done means the expected usage is documented with a concrete example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100