| 1 | <?php |
||
| 18 | class ObjectCriteria extends BaseObject implements ObjectCriteriaInterface |
||
| 19 | { |
||
| 20 | use traits\TransformerCollectionTrait, |
||
| 21 | traits\ConnectionTrait, |
||
| 22 | traits\CacheTrait; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $id = ''; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var mixed |
||
| 31 | */ |
||
| 32 | public $payload = ''; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | public function getId() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | public function setId(string $id) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | public function getPayload() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @inheritdoc |
||
| 61 | */ |
||
| 62 | public function setPayload(array $payload) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @inheritdoc |
||
| 70 | */ |
||
| 71 | protected function prepare(array $criteria = []) |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @inheritdoc |
||
| 81 | */ |
||
| 82 | public function fetch(array $config = []) |
||
| 86 | } |
||
| 87 |