diff --git a/misd/phone-number-bundle/1.3/config/packages/misd_phone_number.yaml b/misd/phone-number-bundle/1.3/config/packages/misd_phone_number.yaml new file mode 100644 index 00000000..ae476b0c --- /dev/null +++ b/misd/phone-number-bundle/1.3/config/packages/misd_phone_number.yaml @@ -0,0 +1,6 @@ +# To persist libphonenumber\PhoneNumber objects, add the Misd\PhoneNumberBundle\Doctrine\DBAL\Types\PhoneNumberType mapping to your application's config. +# This requires: doctrine/doctrine-bundle +doctrine: + dbal: + types: + phone_number: Misd\PhoneNumberBundle\Doctrine\DBAL\Types\PhoneNumberType diff --git a/misd/phone-number-bundle/1.3/manifest.json b/misd/phone-number-bundle/1.3/manifest.json new file mode 100644 index 00000000..e164c6e6 --- /dev/null +++ b/misd/phone-number-bundle/1.3/manifest.json @@ -0,0 +1,5 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/misd/phone-number-bundle/1.3/post-install.txt b/misd/phone-number-bundle/1.3/post-install.txt new file mode 100644 index 00000000..6f30e980 --- /dev/null +++ b/misd/phone-number-bundle/1.3/post-install.txt @@ -0,0 +1,10 @@ + + You now can use the phone bundle as descriped here: + https://github.com/misd-service-development/phone-number-bundle#usage + The Doctrine configuration has been already done. + You now can use `phone_number` as a ORM-Type: + + /** + * @ORM\Column(type="phone_number") + */ + private $phoneNumber;