Skip to content
Snippets Groups Projects
Unverified Commit f29aee29 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Remove commented code

We're not going to use it
parent d79186d7
No related branches found
No related tags found
No related merge requests found
......@@ -112,44 +112,4 @@ class SspContainer extends AbstractContainer
}
$sysUtils->writeFile($filename, $data, $mode);
}
/**
* @inheritDoc
public function registerExtensionHandler(string $class): void
{
Assert::subclassOf($class, AbstractXMLElement::class);
if (is_subclass_of($class, CustomIdentifierInterface::class, true)) {
$key = $class::getXsiType() . ':BaseID';
} else {
$key = join(':', [urlencode($class::NS), AbstractXMLElement::getClassName($class)]);
}
$this->registry[$key] = $class;
}
*/
/**
* @inheritDoc
public function getElementHandler(string $namespace, string $element): ?string
{
Assert::notEmpty($namespace, 'Cannot search for handlers without an associated namespace URI.');
Assert::notEmpty($element, 'Cannot search for handlers without an associated element name.');
return $this->registry[join(':', [urlencode($namespace), $element])];
}
*/
/**
* @inheritDoc
public function getIdentifierHandler(string $type): ?string
{
Assert::notEmpty($type, 'Cannot search for identifier handlers with an empty type.');
$handler = $type . ':BaseID';
return array_key_exists($handler, $this->registry) ? $this->registry[$handler] : null;
}
*/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment