mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-27 21:11:12 +01:00
43 lines
1009 B
PHP
43 lines
1009 B
PHP
<?php
|
|
|
|
/**
|
|
* @see https://github.com/laminas/laminas-loader for the canonical source repository
|
|
* @copyright https://github.com/laminas/laminas-loader/blob/master/COPYRIGHT.md
|
|
* @license https://github.com/laminas/laminas-loader/blob/master/LICENSE.md New BSD License
|
|
*/
|
|
|
|
namespace Laminas\Loader;
|
|
|
|
use IteratorAggregate;
|
|
use Traversable;
|
|
|
|
/**
|
|
* Plugin class locator interface
|
|
*/
|
|
interface PluginClassLocator extends ShortNameLocator, IteratorAggregate
|
|
{
|
|
/**
|
|
* Register a class to a given short name
|
|
*
|
|
* @param string $shortName
|
|
* @param string $className
|
|
* @return PluginClassLocator
|
|
*/
|
|
public function registerPlugin($shortName, $className);
|
|
|
|
/**
|
|
* Unregister a short name lookup
|
|
*
|
|
* @param mixed $shortName
|
|
* @return void
|
|
*/
|
|
public function unregisterPlugin($shortName);
|
|
|
|
/**
|
|
* Get a list of all registered plugins
|
|
*
|
|
* @return array|Traversable
|
|
*/
|
|
public function getRegisteredPlugins();
|
|
}
|