1 | <?php |
||
20 | final class HashMap |
||
21 | { |
||
22 | const NAME = 'hash_map'; |
||
23 | |||
24 | /** |
||
25 | * Name of the type field. Defaults to normalized property name. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | public $name; |
||
30 | |||
31 | /** |
||
32 | * Property type for nested structure values. |
||
33 | * |
||
34 | * @var mixed |
||
35 | * @Enum({ |
||
36 | * "text", "keyword", |
||
37 | * "long", "integer", "short", "byte", "double", "float", |
||
38 | * "date", |
||
39 | * "boolean", |
||
40 | * "binary", |
||
41 | * "geo_point", "geo_shape", |
||
42 | * "ip", "completion", "token_count", "murmur3", "attachments", "percolator" |
||
43 | * }) |
||
44 | */ |
||
45 | public $type; |
||
46 | |||
47 | /** |
||
48 | * In this field you can define options. |
||
49 | * |
||
50 | * @var array |
||
51 | */ |
||
52 | public $options = []; |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function dump(array $exclude = []) |
||
69 | } |
||
70 |