Add interface and implementing classes for the maps. #221
This commit is contained in:
parent
f14f17543d
commit
612c9327d6
3 changed files with 26 additions and 0 deletions
7
src/Service/BingMapManager.php
Normal file
7
src/Service/BingMapManager.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace App\Service;
|
||||
|
||||
class BingMapManager
|
||||
{
|
||||
}
|
||||
7
src/Service/GoogleMapManager.php
Normal file
7
src/Service/GoogleMapManager.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace App\Service;
|
||||
|
||||
class GoogleMapManager
|
||||
{
|
||||
}
|
||||
12
src/Service/MapManagerInterface.php
Normal file
12
src/Service/MapManagerInterface.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace App\Service;
|
||||
|
||||
interface MapManagerInterface
|
||||
{
|
||||
/*
|
||||
* Return a map to be used to display location
|
||||
*
|
||||
*/
|
||||
public function jsDisplayMap();
|
||||
}
|
||||
Loading…
Reference in a new issue