Commit Graph

4 Commits

Author SHA1 Message Date
b0f73d5537 Changed all directory pointers in FuzeWorks to use the directories defined in FuzeWorks\Core.
The index file has been removed as well. This file has been replaced with the FuzeWorks\Configurator class. The configurator prepares FuzeWorks and loads it when requested. This allows for more flexible startups.
2016-07-07 17:48:09 +02:00
5d19a1c4dc Removed support for PHP5.4 and 5.5.
This is no longer necessary as FuzeWorks simply doesn't support it anymore.
2016-07-07 13:54:52 +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
dbf6d87c95 First implementation of Gitlab CI 2016-05-25 13:46:13 +02:00