1 | <?php |
||
14 | class SiteDefinitionCollection extends NormalizedCollection |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | protected $onDuplicateAction = 'replace'; |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | protected function getAlreadyExistsException($key) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | 2 | protected function getNotExistException($key) |
|
36 | |||
37 | /** |
||
38 | * Validate and normalize a site ID |
||
39 | * |
||
40 | * @param string $siteId |
||
41 | * @return string |
||
42 | */ |
||
43 | 16 | public function normalizeKey($siteId) |
|
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | 2 | public function normalizeValue($siteConfig) |
|
66 | } |