Tencent / Tencent/Biny

extends创建工具类遇到的问题?

Open
#103 6 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.