OpHandlerActiveRecordUpdate
in package
implements
OpHandlerInterface
Table of Contents
Interfaces
Properties
- $entity : mixed
- $model : mixed
- $transformer : mixed
Methods
- __construct() : mixed
- canHandle() : bool
- handle() : mixed
- validateOperation() : array<string|int, mixed>
Properties
$entity
protected
mixed
$entity
= null
$model
protected
mixed
$model
= null
$transformer
protected
mixed
$transformer
= null
Methods
__construct()
public
__construct(mixed $entity, CModel $model[, TransformerInterface $transformer = null ]) : mixed
Parameters
- $entity : mixed
- $model : CModel
- $transformer : TransformerInterface = null
canHandle()
public
canHandle(OpInterface $op) : bool
Parameters
- $op : OpInterface
Return values
boolhandle()
public
handle(OpInterface $op) : mixed
Parameters
- $op : OpInterface
validateOperation()
public
validateOperation(OpInterface $op) : array<string|int, mixed>
Parameters
- $op : OpInterface