Total Complexity | 7 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
12 | class Address |
||
13 | { |
||
14 | public static function fromArray(array $addresses): array |
||
29 | } |
||
30 | |||
31 | public static function fromString(string $string): SymfonyAddress |
||
32 | { |
||
33 | return SymfonyAddress::create($string); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param $email |
||
38 | * @param $name |
||
39 | */ |
||
40 | public static function create($email, $name = null): SymfonyAddress |
||
43 | } |
||
44 | } |
||
45 |