Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 44.44% |
Changes | 0 |
1 | <?php |
||
20 | class AzureEventGridDestination extends Destination |
||
21 | { |
||
22 | 1 | public function fieldDefinitions() |
|
23 | { |
||
24 | return [ |
||
25 | 1 | 'type' => [static::TYPE => 'string'], |
|
26 | 1 | 'uri' => [static::TYPE => 'string'], |
|
27 | 1 | 'accessKey' => [static::TYPE => 'string'], |
|
28 | ]; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param $uri |
||
33 | * @param $accessKey |
||
34 | * @param Context|null $context |
||
35 | * @return AzureServiceBusDestination |
||
36 | */ |
||
37 | public static function ofUriAndAccessKey($uri, $accessKey, Context $context = null) |
||
43 | } |
||
44 | } |
||
45 |