Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class JsonRpcHttpServerSwaggerDocExtension implements ExtensionInterface |
||
13 | { |
||
14 | // Extension identifier (used in configuration for instance) |
||
15 | const EXTENSION_IDENTIFIER = 'json_rpc_http_server_swagger_doc'; |
||
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | public function load(array $configs, ContainerBuilder $container) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function getNamespace() |
||
34 | { |
||
35 | return 'http://example.org/schema/dic/'.$this->getAlias(); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getXsdValidationBasePath() |
||
42 | { |
||
43 | return ''; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getAlias() |
||
52 | } |
||
53 | } |
||
54 |