刃齿虎
Hide class dependencies from end user instantiating it (PHP)
My situation is essentially this: I have a class called Foo which has dependencies A and B, all of which are internal to a library. Instances of Foo will be created by user of the library, and they sh[详细]
2022-12-20 19:26 分类:问答