Adds misd/phone-number-bundle v1.3

This commit is contained in:
Alexander Eimer
2018-10-12 16:28:14 +02:00
parent c07eec033d
commit 215950ee63
3 changed files with 21 additions and 0 deletions
@@ -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
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
@@ -0,0 +1,10 @@
<bg=green;fg=white></>
<bg=green;fg=white> You now can use the phone bundle as descriped here: </>
<bg=green;fg=white> https://github.com/misd-service-development/phone-number-bundle#usage </>
<bg=green;fg=white> The Doctrine configuration has been already done.</>
<bg=green;fg=white> You now can use `phone_number` as a ORM-Type: </>
/**
* @ORM\Column(type="phone_number")
*/
private $phoneNumber;