初始化
This commit is contained in:
12
tests/stub/think
Normal file
12
tests/stub/think
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use think\App;
|
||||
|
||||
require __DIR__ . '/../../vendor/autoload.php';
|
||||
|
||||
$app = new App(__DIR__);
|
||||
|
||||
$app->console->addCommands([\think\worker\command\Server::class]);
|
||||
|
||||
$app->console->run();
|
||||
Reference in New Issue
Block a user