| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public static function create(string $title = null, string $subtitle = null, Image $art = null, Image $backgroundImage = null): self |
||
| 41 | { |
||
| 42 | $metadata = new self(); |
||
| 43 | |||
| 44 | $metadata->title = $title; |
||
| 45 | $metadata->subtitle = $subtitle; |
||
| 46 | $metadata->art = $art; |
||
| 47 | $metadata->backgroundImage = $backgroundImage; |
||
| 48 | |||
| 49 | return $metadata; |
||
| 50 | } |
||
| 75 |