Use Pimple instead of Core\Registry and add Monolog for logging
This commit is contained in:
15
app/ServiceProvider/Event.php
Normal file
15
app/ServiceProvider/Event.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace ServiceProvider;
|
||||
|
||||
use Pimple\Container;
|
||||
use Pimple\ServiceProviderInterface;
|
||||
use Core\Event as EventDispatcher;
|
||||
|
||||
class Event implements ServiceProviderInterface
|
||||
{
|
||||
public function register(Container $container)
|
||||
{
|
||||
$container['event'] = new EventDispatcher;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user