| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class EdmDirectValueAnnotation extends EdmNamedElement implements IDirectValueAnnotation |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var mixed |
||
| 19 | */ |
||
| 20 | private $value; |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $namespaceUri; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Initializes a new instance of the EdmDirectValueAnnotation class. |
||
| 28 | * @param string $namespaceUri Namespace URI of the annotation. |
||
| 29 | * @param string $name Name of the annotation within the namespace. |
||
| 30 | * @param mixed $value Value of the annotation |
||
| 31 | */ |
||
| 32 | public function __construct(string $namespaceUri, string $name, $value) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritDoc |
||
| 42 | */ |
||
| 43 | public function getNamespaceUri(): string |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritDoc |
||
| 50 | */ |
||
| 51 | public function getValue() |
||
| 54 | } |
||
| 55 | } |