// +---------------------------------------------------------------------- // | phpMore [ WE CAN DO IT MORE ] // +---------------------------------------------------------------------- // | Copyright (c) 20011~2019 广州务商网络科技有限公司 All rights reserved.
// +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Author: sujunli 4297088@qq.com // +----------------------------------------------------------------------
ProcessPoolWorkerRunnerSetBo |
<?php
/**
* // +----------------------------------------------------------------------
* // | phpMore [ WE CAN DO IT MORE ]
* // +----------------------------------------------------------------------
* // | Copyright (c) 20011~2019 广州务商网络科技有限公司 All rights reserved.
* // +----------------------------------------------------------------------
* // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
* // +----------------------------------------------------------------------
* // | Author: sujunli <4297088@qq.com>
* // +----------------------------------------------------------------------
*/
namespace cn\gz53\framework\model\bo\process;
use cn\gz53\framework\dao\runner\RunnerInitCallbackGetDaoI;
use cn\gz53\framework\dao\runner\RunnerRunCallbackGetDaoI;
use cn\gz53\framework\model\bo\Bo;
use cn\gz53\framework\dao\process\ProcessPoolWorkerRunCallbackSetDaoI;
class ProcessPoolWorkerRunnerSetBo extends Bo implements RunnerInitCallbackGetDaoI, RunnerRunCallbackGetDaoI, ProcessPoolWorkerRunCallbackSetDaoI
{
private $runnerInitCallback;
private $runnerRunCallback;
public function getRunnerInitCallback(){
return $this->runnerInitCallback;
}
public function setRunnerInitCallback(callable $runnerInitCallback){
$this->runnerInitCallback = $runnerInitCallback;
}
public function getRunnerRunCallback(){
return $this->runnerRunCallback;
}
public function setRunnerRunCallback(callable $runnerRunCallback){
$this->runnerRunCallback = $runnerRunCallback;
}
}