tl;dr Use a factory in situations where you don't necessarily want to return a new instance of the class itself. Use cases:.
確定! 回上一頁