You are here

DiscoverableInterface.php in Service Container 7

Same filename and directory in other branches
  1. 7.2 lib/Drupal/Component/Discovery/DiscoverableInterface.php

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.