mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"manifests": {
|
||||
"odolbeau/phone-number-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Misd\\PhoneNumberBundle\\MisdPhoneNumberBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=green;fg=white></>",
|
||||
"<bg=green;fg=white> Uncomment the configuration provided for doctrine",
|
||||
"<bg=green;fg=white> and now can use the phone bundle as described here: </>",
|
||||
"<bg=green;fg=white> https://github.com/odolbeau/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 an ORM-Type: </>",
|
||||
"",
|
||||
" #[ORM\\Column(type: 'phone_number')]",
|
||||
" private ?PhoneNumber $phoneNumber = null;"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/misd_phone_number.yaml": {
|
||||
"contents": [
|
||||
"# 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",
|
||||
"",
|
||||
"#misd_phone_number:",
|
||||
"# twig: false",
|
||||
"# form: false",
|
||||
"# serializer: false",
|
||||
"# validator:",
|
||||
"# default_region: GB",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0d4442802a90dd2d1d6c18618998b43f69af0d95"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,12 +31,19 @@
|
||||
"# dbal:",
|
||||
"# types:",
|
||||
"# phone_number: Misd\\PhoneNumberBundle\\Doctrine\\DBAL\\Types\\PhoneNumberType",
|
||||
"",
|
||||
"#misd_phone_number:",
|
||||
"# twig: false",
|
||||
"# form: false",
|
||||
"# serializer: false",
|
||||
"# validator:",
|
||||
"# default_region: GB",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "8aaba28c06547e50377dd9dce4104b9e384731a5"
|
||||
"ref": "0d4442802a90dd2d1d6c18618998b43f69af0d95"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user