silverstripe-framework/Core/Injector/ServiceConfigurationLocator.php

20 lines
347 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\Core\Injector;
/**
2014-08-15 08:53:05 +02:00
* Used to locate configuration for a particular named service.
*
* If it isn't found, return null.
*/
interface ServiceConfigurationLocator {
2015-09-28 11:21:08 +02:00
/**
* Finds the Injector config for a named service.
2015-09-28 11:21:08 +02:00
*
* @param string $name
* @return mixed
*/
public function locateConfigFor($name);
}