public function Register($Instance)
{
if ($this->RegistrableType !== null) {
if (!$Instance instanceof $this->RegistrableType) {
throw new \Storm\Core\Object\TypeMismatchException('Registered type does not match, expecting %s, supplied %s', $this->RegistrableType, \Storm\Core\Utilities::GetTypeOrClass($Instance));
}
}
$this->Instances[] = $Instance;
}