diff --git a/odolbeau/phone-number-bundle/3.0/config/packages/misd_phone_number.yaml b/odolbeau/phone-number-bundle/3.0/config/packages/misd_phone_number.yaml new file mode 100644 index 00000000..a9970e10 --- /dev/null +++ b/odolbeau/phone-number-bundle/3.0/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/odolbeau/phone-number-bundle/3.0/manifest.json b/odolbeau/phone-number-bundle/3.0/manifest.json new file mode 100644 index 00000000..333a9a25 --- /dev/null +++ b/odolbeau/phone-number-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Misd\\PhoneNumberBundle\\MisdPhoneNumberBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/odolbeau/phone-number-bundle/3.0/post-install.txt b/odolbeau/phone-number-bundle/3.0/post-install.txt new file mode 100644 index 00000000..a71c1801 --- /dev/null +++ b/odolbeau/phone-number-bundle/3.0/post-install.txt @@ -0,0 +1,9 @@ + + Uncomment the configuration provided for doctrine + and now can use the phone bundle as described here: + https://github.com/odolbeau/phone-number-bundle#usage + The Doctrine configuration has been already done. + You now can use `phone_number` as an ORM-Type: + + /** @ORM\Column(type="phone_number") */ + private $phoneNumber;