This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/core/lib/Drupal/Component/Discovery/DiscoverableInterface.php

22 lines
441 B
PHP
Raw Normal View History

<?php
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.
*
* @throws \Drupal\Component\Discovery\DiscoveryException
* Exception thrown if there is a problem during discovery.
*/
public function findAll();
}