@@ -1,5 +1,7 @@
<?php
+ require_once('events.trait.php');
class Response {
+ use Events;
public $output = '';
public $body = '';
private $code = 200;
@@ -2,7 +2,7 @@
require_once('path.class.php');
require_once('response.class.php');
require_once('request.class.php');
- require_once('events.interface.php');
class Router {
use Events;
private $_paths = [];