18 lines
299 B
PHP
18 lines
299 B
PHP
<?php
|
|
|
|
namespace think\worker\contract;
|
|
|
|
use think\App;
|
|
use think\worker\Sandbox;
|
|
|
|
interface ResetterInterface
|
|
{
|
|
/**
|
|
* "handle" function for resetting app.
|
|
*
|
|
* @param \think\App $app
|
|
* @param Sandbox $sandbox
|
|
*/
|
|
public function handle(App $app, Sandbox $sandbox);
|
|
}
|