We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ef2514 commit 60da862Copy full SHA for 60da862
lib/Bacon/Router.php
@@ -60,7 +60,9 @@ public function parse ()
60
61
$namespace_next = $namespace . '\\' . ucfirst($next);
62
63
- if (in_array('Bacon\Controllers\Endpoint', class_implements($namespace))) {
+ $endpoint_check = class_implements($namespace);
64
+
65
+ if ($endpoint_check != false && in_array('Bacon\Controllers\Endpoint', $endpoint_check)) {
66
$this->route->push(ucfirst($current));
67
$this->set_action();
68
0 commit comments