restore showing phonenumber

This commit is contained in:
2022-03-02 13:48:48 +01:00
parent ed4cf67e79
commit 54ad7a4b8f
10 changed files with 37 additions and 40 deletions

View File

@@ -11,6 +11,8 @@ declare(strict_types=1);
namespace Chill\MainBundle\Phonenumber;
use libphonenumber\PhoneNumber;
/**
* Helper to some task linked to phonenumber.
*
@@ -20,9 +22,9 @@ namespace Chill\MainBundle\Phonenumber;
*/
interface PhoneNumberHelperInterface
{
public function denormalize(string $phoneNumber): string;
public function denormalize(PhoneNumber $phoneNumber): string;
public function format(string $phonenumber): string;
public function format(PhoneNumber $phonenumber): string;
/**
* Get type (mobile, landline, ...) for phone number.