| 1 | <?php |
||
| 19 | class TimelineEventAccessor extends BaseObject implements TimelineEventAccessorInterface |
||
| 20 | { |
||
| 21 | use traits\TransformerCollectionTrait, |
||
| 22 | traits\IntegrationConnectionTrait, |
||
| 23 | traits\CacheTrait; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The event Id |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | public $id; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The event type Id |
||
| 34 | * |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | public $typeId; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getTypeId(): string |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getId(): string |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param array $config |
||
| 57 | * @param null $source |
||
| 58 | * @return mixed |
||
| 59 | * @throws \yii\base\InvalidConfigException |
||
| 60 | */ |
||
| 61 | public function read(array $config = [], $source = null) |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @inheritdoc |
||
| 69 | */ |
||
| 70 | protected function prepare(array $criteria = []) |
||
| 77 | } |
||
| 78 |