CommandInterface
in
Command interface definition.
Tags
Table of Contents
- execute() : CommandInterface
- Execute command on backend.
- getContext() : mixed
- Return command context.
- getResult() : mixed
- Return result of executed operation.
- getSearchParameters() : ParamBag
- Return search parameters.
- getTargetIdentifier() : string
- Return target backend identifier.
- isExecuted() : bool
- Was the command executed?
Methods
execute()
Execute command on backend.
public
execute(BackendInterface $backend) : CommandInterface
Parameters
- $backend : BackendInterface
-
Backend
Return values
CommandInterface —Command instance for method chaining
getContext()
Return command context.
public
getContext() : mixed
Return values
mixed —getResult()
Return result of executed operation.
public
getResult() : mixed
Tags
Return values
mixed —getSearchParameters()
Return search parameters.
public
getSearchParameters() : ParamBag
Return values
ParamBag —getTargetIdentifier()
Return target backend identifier.
public
getTargetIdentifier() : string
Return values
string —isExecuted()
Was the command executed?
public
isExecuted() : bool