Abstract
The simple factory is not an design pattern you find in the original 90s Gang of Four design patterns book. Yet it is an extremely useful way to create objects—so useful that I made a chapter for it.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Kelt Dockins
About this chapter
Cite this chapter
Dockins, K. (2017). Simple Factory Method. In: Design Patterns in PHP and Laravel. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2451-9_8
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2451-9_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2450-2
Online ISBN: 978-1-4842-2451-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books