Commit Graph

11 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
9b39b57957 Implemented getPluginEvent. This event gets called upon requestion a plugins using the Plugins::get() method, and can be used to cancel the request or provide with an alternative object. 2018-02-21 16:45:14 +01:00
3907ecc780 Implemented PHP7 type hinting accross the Core of FuzeWorks. 2017-12-21 22:18:23 +01:00
457987e2f1 Rewritten the Layout system to use 'layout.' files instead of 'view.' files.
- All systems have been rewritten to use this new scheme.
2017-09-14 14:45:02 +02:00
8296f6a00b Updated all tests to pass on PHP 7.1. 2017-07-14 16:14:47 +02:00
b205111e61 Changed license headers and version information.
Version 1.0.0 is now described.
2016-07-23 17:06:19 +02:00
320edec16b Implemented a PSR-4 compliant scheme.
FuzeWorks can now be properly loaded by Composer, without any lost functionality.
2016-07-11 12:44:13 +02:00
7fc7d63179 Implemented renewed unit tests.
These now work in the new construction
2016-07-07 18:29:26 +02:00
8298975c98 Implemented renewed Routing and Output system.
Everything is in accordance with issue #89 and #90.
2016-06-07 15:12:35 +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