walkor / walkor/webman

关于编写辅助类的一个问题

Open
#268 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.7k
Forks
251
PR merge metrics
No merged PRs in 30d

Description

引用第三方类库,是否需要改写为单例模式,因为是常驻内存的PHP,那每次 new 了之后也是开辟了相应的资源的,就不知道 new 多了会不会有问题。

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue contains a question about whether third-party helper classes in resident PHP processes should use the singleton pattern, but it names no files, tests, or implementation entry points. First clarify the intended change and its resource-management requirements with the maintainers; no concrete definition of done is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.