Debian Codegraph @

lib/3rdParty/composer/spomky-labs/cbor-php/src/OtherObject/UndefinedObject.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace CBOR\OtherObject;
6
7 use CBOR\OtherObject as Base;
8
9 final class UndefinedObject extends Base
10 {
11 public function __construct()
12 {
13 parent::__construct(self::OBJECT_UNDEFINED, null);
14 }
15
16 public static function create(): self
17 {
18 return new self();
19 }
20
21 public static function supportedAdditionalInformation(): array
22 {
23 return [self::OBJECT_UNDEFINED];
24 }
25
26 public static function createFromLoadedData(int $additionalInformation, ?string $data): Base
27 {
28 return new self();
29 }
30 }