| Conditions | 4 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | /** |
||
| 33 | * @var array|null |
||
| 34 | */ |
||
| 35 | public $display; |
||
| 36 | |||
| 37 | public function getModel() |
||
| 38 | { |
||
| 39 | $display = null; |
||
| 40 | |||
| 41 | if (null !== $this->display) { |
||
| 42 | $display = LanguageMap::create($this->display); |
||
| 43 | } |
||
| 44 | |||
| 45 | return new VerbModel(IRI::fromString($this->id), $display); |
||
| 46 | } |
||
| 47 | |||
| 48 | public static function fromModel(VerbModel $model) |
||
| 64 |