Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class InitialItem extends Item |
||
19 | { |
||
20 | /** @var Key */ |
||
21 | private $key; |
||
22 | |||
23 | public function __construct(Profile $profile, Key $key) |
||
24 | { |
||
25 | parent::__construct( |
||
26 | new Uuid(RamseyUuid::uuid4()->toString()), |
||
|
|||
27 | $profile |
||
28 | ); |
||
29 | $this->key = $key; |
||
30 | } |
||
31 | |||
32 | public function getKey(): Key |
||
35 | } |
||
36 | } |
||
37 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.