改名
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Snowflake\Process;
|
||||
|
||||
|
||||
use Exception;
|
||||
use Snowflake\Snowflake;
|
||||
use Swoole\Timer;
|
||||
|
||||
/**
|
||||
* Class Logfilemonitoring
|
||||
*/
|
||||
class Leafleting extends Process
|
||||
{
|
||||
|
||||
/**
|
||||
* @param \Swoole\Process $process
|
||||
* @return mixed|void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function onHandler(\Swoole\Process $process)
|
||||
{
|
||||
Timer::tick(1000, function () use ($process) {
|
||||
var_dump($process->read());
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Snowflake\Process;
|
||||
|
||||
|
||||
use Snowflake\Abstracts\Component;
|
||||
|
||||
abstract class System extends Component implements ISystem
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Snowflake\Process\Leafleting;
|
||||
use Snowflake\Process\ServerInotify;
|
||||
|
||||
return [
|
||||
|
||||
'processes' => [
|
||||
'Leafleting' => Leafleting::class,
|
||||
'inotify' => ServerInotify::class,
|
||||
]
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user