You are here

public function ConfigurationManager::getHandler in Configuration Management 7.3

File

src/ConfigurationManager.php, line 111

Class

ConfigurationManager

Namespace

Configuration

Code

public function getHandler(Configuration $configuration) {
  $type = substr($configuration
    ->getIdentifier(), 0, strpos($configuration
    ->getIdentifier(), '.'));
  return $this->handlers
    ->get($type)
    ->get();
}