PHP Class mult1mate\crontab_tests\TaskMock

Author: mult1mate Date: 01.02.16 Time: 10:07
Inheritance: implements mult1mate\crontab\TaskInterface
显示文件 Open project: MUlt1mate/cron-manager Class Usage Examples

Public Methods

Method Description
createNew ( ) : mult1mate\crontab\TaskInterface
createTaskRun ( ) : mult1mate\crontab\TaskRunInterface
getAll ( )
getCommand ( ) : mixed
getComment ( ) : mixed
getStatus ( ) : mixed
getTaskId ( )
getTime ( ) : mixed
getTs ( ) : mixed
getTsUpdated ( ) : mixed
setCommand ( mixed $command )
setComment ( mixed $comment )
setStatus ( mixed $status )
setTime ( mixed $time )
setTs ( mixed $timestamp )
setTsUpdated ( mixed $ts )
taskDelete ( )
taskGet ( $task_id )
taskSave ( )

Method Details

createNew() public static method

public static createNew ( ) : mult1mate\crontab\TaskInterface
return mult1mate\crontab\TaskInterface

createTaskRun() public method

public createTaskRun ( ) : mult1mate\crontab\TaskRunInterface
return mult1mate\crontab\TaskRunInterface

getAll() public static method

public static getAll ( )

getCommand() public method

public getCommand ( ) : mixed
return mixed

getComment() public method

public getComment ( ) : mixed
return mixed

getStatus() public method

public getStatus ( ) : mixed
return mixed

getTaskId() public method

public getTaskId ( )

getTime() public method

public getTime ( ) : mixed
return mixed

getTs() public method

public getTs ( ) : mixed
return mixed

getTsUpdated() public method

public getTsUpdated ( ) : mixed
return mixed

setCommand() public method

public setCommand ( mixed $command )
$command mixed

setComment() public method

public setComment ( mixed $comment )
$comment mixed

setStatus() public method

public setStatus ( mixed $status )
$status mixed

setTime() public method

public setTime ( mixed $time )
$time mixed

setTs() public method

public setTs ( mixed $timestamp )
$timestamp mixed

setTsUpdated() public method

public setTsUpdated ( mixed $ts )
$ts mixed

taskDelete() public method

public taskDelete ( )

taskGet() public static method

public static taskGet ( $task_id )

taskSave() public method

public taskSave ( )