24 lines
393 B
PHP
24 lines
393 B
PHP
<?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();
|
|
|
|
}
|