You are here

DiscoverableInterface.php in Plug 7

File

lib/Drupal/Component/Discovery/DiscoverableInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Component\Discovery\DiscoverableInterface.
 */
namespace Drupal\Component\Discovery;


/**
 * Interface for classes providing a type of discovery.
 */
interface DiscoverableInterface {

  /**
   * Returns an array of discoverable items.
   *
   * @return array
   *   An array of discovered data keyed by provider.
   */
  public function findAll();

}

Interfaces

Namesort descending Description
DiscoverableInterface Interface for classes providing a type of discovery.