$filter = $name;
$name = $filter->getName();
}
-
+
if ($this->extensionInitialized) {
throw new LogicException(sprintf('Unable to add filter "%s" as extensions have already been initialized.', $name));
}
-
+
$this->staging->addFilter($name, $filter);
}
$test = $name;
$name = $test->getName();
}
-
+
if ($this->extensionInitialized) {
throw new LogicException(sprintf('Unable to add test "%s" as extensions have already been initialized.', $name));
}
$function = $name;
$name = $function->getName();
}
-
+
if ($this->extensionInitialized) {
throw new LogicException(sprintf('Unable to add function "%s" as extensions have already been initialized.', $name));
}
-
+
$this->staging->addFunction($name, $function);
}