AutoRemoveTaskAgent implements AgentInterface uses AgentTrait
Table of Contents
Interfaces
Properties
- $method : string
Methods
- __construct() : mixed
- execute() : string
- getAgentName() : string
- isProcessing() : bool
- removeAgent() : void
- run() : string
Properties
$method
public
static string
$method
= 'execute()'
Methods
__construct()
public
__construct(RecyclebinTasksRepositoryInterface $repository) : mixed
Parameters
- $repository : RecyclebinTasksRepositoryInterface
execute()
public
static execute() : string
Return values
stringgetAgentName()
public
static getAgentName([bool $withSlash = true ]) : string
Parameters
- $withSlash : bool = true
Return values
stringisProcessing()
public
isProcessing() : bool
Return values
boolremoveAgent()
public
static removeAgent([string $moduleId = 'tasks' ]) : void
Parameters
- $moduleId : string = 'tasks'
run()
public
run() : string