<?php
namespace PrimeLink\Modules\Imports\DataSources;

if ( ! defined( 'ABSPATH' ) ) { exit; }

interface DataSourceInterface {

    /**
     * Handle incoming source and return stored file absolute path.
     *
     * @param array $payload
     * @return array {path, url, type, original_name}
     */
    public function handle( array $payload );
}