\Mine\CrontabMineCrontabProcess

Summary

Methods
Properties
Constants
__construct()
bind()
isEnable()
handle()
$name
No constants found
No protected methods found
$mineCrontabManage
N/A
sleep()
$server
$scheduler
$strategy
$logger
N/A

Properties

$name

$name : string

Type

string

$server

$server : \Swoole\Server

Type

\Swoole\Server

$strategy

$strategy : \Hyperf\Crontab\Strategy\StrategyInterface

Type

\Hyperf\Crontab\Strategy\StrategyInterface

$logger

$logger : \Hyperf\Contract\StdoutLoggerInterface

Type

\Hyperf\Contract\StdoutLoggerInterface

Methods

__construct()

__construct(\Psr\Container\ContainerInterface  $container) 

Parameters

\Psr\Container\ContainerInterface $container

bind()

bind(  $server) 

Parameters

$server

isEnable()

isEnable(\Swoole\Coroutine\Server|\Swoole\Server  $server) : boolean

是否自启进程

Parameters

\Swoole\Coroutine\Server|\Swoole\Server $server

Returns

boolean

handle()

handle() 

sleep()

sleep()