| 1 | <?php |
||
| 14 | class ConfigFactory |
||
| 15 | { |
||
| 16 | const FQCN = __NAMESPACE__ . '\Platform\%1$s\Config'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Return a Soap configuration for given platformConfig. |
||
| 20 | * |
||
| 21 | * @param PlatformConfigInterface $platform |
||
| 22 | * |
||
| 23 | * @return SoapConfig |
||
| 24 | * @throws InputException |
||
| 25 | */ |
||
| 26 | public static function config(PlatformConfigInterface $platform) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Check if config exists. |
||
| 42 | * |
||
| 43 | * @param string $className |
||
| 44 | * |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | public static function hasConfig($className) |
||
| 53 | } |
||
| 54 |