comparison core/lib/Drupal/Component/Discovery/DiscoverableInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\Component\Discovery;
4
5 /**
6 * Interface for classes providing a type of discovery.
7 */
8 interface DiscoverableInterface {
9
10 /**
11 * Returns an array of discoverable items.
12 *
13 * @return array
14 * An array of discovered data keyed by provider.
15 *
16 * @throws \Drupal\Component\Discovery\DiscoveryException
17 * Exception thrown if there is a problem during discovery.
18 */
19 public function findAll();
20
21 }