Commit Graph

6 Commits

Author SHA1 Message Date
4086af2040
Updated directory consistency and notice in copyright. 2018-12-13 23:45:55 +01:00
dbc7e202e5 Release 1.2.0 BETA 2018-10-07 21:02:18 +00:00
0c7ae1300b Performed optimizations in the unit testing. Some minor useless functions (which already had replacements) have been removed. 2018-01-16 22:31:14 +01:00
23f56b524a Implemented Unit tests for Logger class.
Changed a few other classes since some unused functionality was removed.
2016-07-23 16:32:11 +02:00
01491b7f65 Implemented xdebug in Gitlab CI and added code coverage systems
Code Coverage should now work properly.
2016-06-04 16:17:21 +02:00
bc6136525b Implemented the Factory and the FactoryTest.
The Factory class is the central point for class communication in FuzeWorks. When someone needs to load, for instance, the layout class, one has to do the following:

$factory = Factory::getInstance();
$layout = $factory->layout;

The Factory class allows the user to replace dependencies on the fly. It is possible for a class to replace a dependency, like Logger, on the fly by calling the $factory->newInstance('Logger'); or the $factory->setInstance('Logger', $object); This allows for creative ways to do dependency injection, or keep classes
separated.

It is also possible to load a cloned instance of the Factory class, so that all properties are independant as well,
all to suit your very needs.
2016-05-27 16:33:12 +02:00