Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class NamedCurveFp extends CurveFp |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $name; |
||
16 | |||
17 | /** |
||
18 | * @param string $name |
||
19 | * @param CurveParameters $parameters |
||
20 | * @param GmpMathInterface $adapter |
||
21 | */ |
||
22 | public function __construct(string $name, CurveParameters $parameters, GmpMathInterface $adapter) |
||
23 | { |
||
24 | $this->name = $name; |
||
25 | |||
26 | parent::__construct($parameters, $adapter); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getName(): string |
||
35 | } |
||
36 | } |
||
37 |