Fixed the Singleton class. As static vars (in this case static::$instance) is shared among all derived classes, we need to handle a dictionary to save each derived class instance.
Fixed the Multiton class. As static vars (in this case static::$instances) are shared among all derived classes, we need to handle a dictionary to save each derived class instances.
Added a missing \ in the docblocks.
Encapsulated the part of code that ensures that static::$instances is ready for use into the prepare_instances() function.
Some minor texts changes in docblocks and tests
Fixed a lot of docblocks errors.
Introduced the GenericMultiton to handle a Multitone where we can define which class the object instances will be.
Encapsulate the class implements interface test in a utilities class.
Optimized the code a little bit saving some kind of cache so that we do not test everytime if the class implements the interface.
Set the version number in the README.md file.
Finish release-0.1