| Total Complexity | 3 |
| Total Lines | 34 |
| 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 | */ |
||
| 35 | public static function create(array $data): CreatableFromArray |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getParam(): string |
||
| 48 |