Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function getConfigTreeBuilder()
'distance_matrix' => true,
'elevation' => true,
'geocoder' => true,
'place_add' => true,
'place_autocomplete' => true,
'place_detail' => true,
'place_photo' => false,
Expand Down
1 change: 1 addition & 0 deletions DependencyInjection/IvoryGoogleMapExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ private function loadServicesConfig(array $config, ContainerBuilder $container,
'distance_matrix' => true,
'elevation' => true,
'geocoder' => true,
'place_add' => true,
'place_autocomplete' => true,
'place_detail' => true,
'place_photo' => false,
Expand Down
14 changes: 14 additions & 0 deletions Resources/config/service/place_add.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>

<container
xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"
>
<services>
<service
id="ivory.google_map.place_add"
class="Ivory\GoogleMap\Service\Place\Add\PlaceAddService"
/>
</services>
</container>
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"name": "Eric GELOEN",
"email": "geloen.eric@gmail.com"
}
],
],
"require": {
"php": "^5.6|^7.0",
"symfony/framework-bundle": "^2.7|^3.0",
"egeloen/google-map": "^2.0.2"
"symfony/framework-bundle": "^2.7|^3.0|^4.0"
},
"require-dev": {
"egeloen/serializer-bundle": "^1.0",
Expand Down