Giter VIP home page Giter VIP logo

Comments (3)

TIGERB avatar TIGERB commented on May 29, 2024

「issure 里面能提这样的问题嘛」
答:可以

「项目类的自动加载,(framework/Load.php)这块有两个static 变量$map, $namespaceMap 感觉都没有用到,不知道添加的原因是什么」
答:是准备做 namespace和文件路径缓存的。

from easy-php.

chenye2017 avatar chenye2017 commented on May 29, 2024

hi, 看了你的container 容器,感觉你的容器更像是注册树模式,把需要用到的类对象都保存起来,下次使用的时候直接从里面取,而对于

class A {
public function __construct(B $b) {
echo $b->name;
}
}
类实例化时候依赖的自动注入没有涉及到,更多的是直接把这个 b手动生成一个object(或者是closure中传入这个参数),不知道理解对不对

from easy-php.

TIGERB avatar TIGERB commented on May 29, 2024

from easy-php.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.