SSHVersionControl /
odm-elasticsearch
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace CCT\Component\ODMElasticsearch\Metadata; |
||
| 6 | |||
| 7 | interface PropertyMetadataInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return string|null |
||
| 11 | */ |
||
| 12 | public function getFieldName(): ?string; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param string|null $fieldName |
||
| 16 | */ |
||
| 17 | public function setFieldName(string $fieldName = null): void; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return null|string |
||
| 21 | */ |
||
| 22 | public function getType(): ?string; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param null|string $type |
||
| 26 | */ |
||
| 27 | public function setType(?string $type): void; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Set property setter function |
||
| 31 | * |
||
| 32 | * @param null $setter |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 33 | */ |
||
| 34 | public function setSetterAccessor($setter = null): void; |
||
| 35 | /** |
||
| 36 | * Set property getter function |
||
| 37 | * |
||
| 38 | * @param null $getter |
||
|
0 ignored issues
–
show
|
|||
| 39 | */ |
||
| 40 | public function setGetterAccessor($getter = null): void; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return null|string |
||
| 44 | */ |
||
| 45 | public function getTypeClass(): ?string; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param null|string $typeClass |
||
| 49 | */ |
||
| 50 | public function setTypeClass(?string $typeClass): void; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return array|null |
||
| 54 | */ |
||
| 55 | public function getMapping(): ?array; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param array|null $mapping |
||
| 59 | */ |
||
| 60 | public function setMapping(?array $mapping): void; |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getName(): string; |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @param object $obj |
||
| 69 | * |
||
| 70 | * @return mixed |
||
| 71 | */ |
||
| 72 | public function getValue($obj); |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @param object $obj |
||
| 76 | * @param mixed $value |
||
| 77 | */ |
||
| 78 | public function setValue($obj, $value); |
||
| 79 | } |
||
| 80 |