| 1 | <?php |
||
| 13 | class Config |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var MessageFormatInterface[] |
||
| 17 | */ |
||
| 18 | private $messageFormats = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var bool |
||
| 22 | */ |
||
| 23 | private $xsdValidation = true; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param MessageFormatInterface $messageFormat |
||
| 27 | */ |
||
| 28 | 6 | public function addMessageFormat(MessageFormatInterface $messageFormat) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return MessageFormatInterface[] |
||
| 35 | */ |
||
| 36 | 3 | public function getMessageFormats() |
|
| 40 | |||
| 41 | 2 | public function disableXsdValidation() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @return bool |
||
| 48 | */ |
||
| 49 | 4 | public function getXsdValidation() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return static |
||
| 56 | */ |
||
| 57 | 4 | public static function getDefault() |
|
| 70 | } |
||
| 71 |