改名
This commit is contained in:
@@ -268,10 +268,6 @@ class Loader extends BaseObject
|
|||||||
foreach ($directory as $key => $value) {
|
foreach ($directory as $key => $value) {
|
||||||
$tree = $this->getTree($tree, $value);
|
$tree = $this->getTree($tree, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (env('worker') < 1) {
|
|
||||||
var_dump($filePath, $tree);
|
|
||||||
}
|
|
||||||
if ($tree instanceof FileTree) {
|
if ($tree instanceof FileTree) {
|
||||||
$this->eachNode($tree->getChildes());
|
$this->eachNode($tree->getChildes());
|
||||||
$this->execute($tree->getFiles());
|
$this->execute($tree->getFiles());
|
||||||
@@ -345,7 +341,6 @@ class Loader extends BaseObject
|
|||||||
if (empty($classes)) {
|
if (empty($classes)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var_dump($classes);
|
|
||||||
foreach ($classes as $className) {
|
foreach ($classes as $className) {
|
||||||
$annotations = $this->_classes[$className] ?? null;
|
$annotations = $this->_classes[$className] ?? null;
|
||||||
if ($annotations === null) {
|
if ($annotations === null) {
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ use Snowflake\Snowflake;
|
|||||||
|
|
||||||
$method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri);
|
$method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri);
|
||||||
|
|
||||||
var_dump($method);
|
|
||||||
$router->addRoute($method, $handler, 'sw::socket');
|
$router->addRoute($method, $handler, 'sw::socket');
|
||||||
|
|
||||||
return $router;
|
return $router;
|
||||||
|
|||||||
Reference in New Issue
Block a user