You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							366 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							366 B
						
					
					
				<?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, $parent = null);
 | 
						|
}
 | 
						|
 |