Matt Zandstra
More books by Matt Zandstra…
“Some properties should not be changed. The Answer to Life, the Universe, and Everything is 42, and you want it to stay that way. Error and status flags will often be hard-coded into your classes. Although they should be publicly and statically available, client code should not be able to change them.”
― PHP Objects, Patterns, and Practice
― PHP Objects, Patterns, and Practice
“Methods like this act as “factories” in that they take raw materials (such as row data, for example, or
configuration information) and use them to produce objects. The term factory is applied to code
designed to generate object instances.”
― PHP Objects, Patterns, and Practice
configuration information) and use them to produce objects. The term factory is applied to code
designed to generate object instances.”
― PHP Objects, Patterns, and Practice
Is this you? Let us know. If not, help out and invite Matt to Goodreads.











