Files
DesignPatternsPHP/Creational
Roman Martinuk 74c96851d1 singleton fix visible __wakeup()
1) DesignPatterns\Creational\Singleton\Tests\SingletonTest::testUniqueness
The magic method DesignPatterns\Creational\Singleton\Singleton::__wakeup() must have public visibility

/app/Creational/Singleton/Singleton.php:39
/app/Creational/Singleton/Tests/SingletonTest.php:12

ERRORS!
2021-03-14 20:58:23 +03:00
..
2020-06-20 11:27:02 -03:00
2020-06-20 11:27:02 -03:00
2020-06-20 11:27:02 -03:00
2019-12-14 13:55:04 +01:00

Creational

In software engineering, creational design patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. The basic form of object creation could result in design problems or added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation.