<?php

namespace Drupal\dkan_datastore\Events;

use Drupal\dkan_common\DataResource;

/**
 * Event base class for the datastore module.
 */
interface DatastoreEventInterface {

  /**
   * Get the DataResource object for the event.
   *
   * @return \Drupal\dkan_common\DataResource
   *   DataResource object related to the datastore in question.
   */
  public function getDataResource(): DataResource;

}
