commerce_amws-8.x-1.x-dev/modules/feed/src/Adapters/FeedStorageInterface.php

modules/feed/src/Adapters/FeedStorageInterface.php
<?php

namespace Drupal\commerce_amws_feed\Adapters;

/**
 * Defines the interface for Amazon MWS feed storage adapters.
 *
 * The feed storage adapter is responsible for updating the processing details
 * for feeds from Amazon MWS.
 */
interface FeedStorageInterface {

  /**
   * Updates the given feeds with the processing results fetched from Amazon.
   *
   * @param \Drupal\commerce_amws_feed\Entity\FeedInterface[] $feeds
   *   The feeds for which to fetch the results.
   */
  public function updateResult(array $feeds);

  /**
   * Updates the given feeds with the processing status fetched from Amazon.
   *
   * @param \Drupal\commerce_amws_feed\Entity\FeedInterface[] $feeds
   *   The feeds for which to fetch the status.
   */
  public function updateStatus(array $feeds);

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc