Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class CreatableFromArrayModel implements CreatableFromArray |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $param; |
||
18 | |||
19 | /** |
||
20 | * CreatableFromArray constructor. |
||
21 | * |
||
22 | * @param string $param |
||
23 | */ |
||
24 | public function __construct($param) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param array $data |
||
31 | * |
||
32 | * @return \IBM\Watson\Common\Model\CreatableFromArray |
||
33 | */ |
||
34 | public static function create(array $data): CreatableFromArray |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getParam(): string |
||
47 |