1 | <?php |
||
16 | class MetadataWriter |
||
17 | { |
||
18 | /** |
||
19 | * @param MessageCatalogue $catalogue |
||
20 | * @param string $key message key |
||
21 | * @param string $domain |
||
22 | * @param string $type the type of metadata. "notes" is a common one |
||
23 | * @param mixed $value |
||
24 | */ |
||
25 | public function write(MessageCatalogue $catalogue, $key, $domain, $type, $value) |
||
39 | |||
40 | /** |
||
41 | * @param array $metadata |
||
42 | * @param mixed $value |
||
43 | * |
||
44 | * @return bool |
||
45 | */ |
||
46 | private function exists($metadata, $value) |
||
56 | } |
||
57 |