| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class License extends AbstractObject implements ExtensibleInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * REQUIRED. The license name used for the API. |
||
| 14 | * |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $name; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * A URL to the license used for the API. MUST be in the format of a URL. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | public $url; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $name |
||
| 29 | * @param string|null $url |
||
| 30 | * @param array $additionalProperties |
||
| 31 | */ |
||
| 32 | 6 | public function __construct(string $name, string $url = null, array $additionalProperties = []) |
|
| 39 |