Added City, Company to get and save data from API.

This commit is contained in:
2023-06-14 17:48:24 +03:00
parent 87483cce4e
commit 814b56ca3d
3 changed files with 85 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\DotsAPI\API\v2;
use App\DotsAPI\Fetcher\v2\ApiFetcher;
abstract class AbstractItemAPI
{
protected ApiFetcher $fetcher;
public function __construct(ApiFetcher $fetcher)
{
$this->fetcher = $fetcher;
}
abstract public function getMap($context = null);
abstract public function saveMap($map);
}