return $globals;
} public function addTest(TwigTest
$test): void
{ if ($this->initialized
) { throw new \
LogicException(sprintf('Unable to add test "%s" as extensions have already been initialized.',
$test->
getName()));
} $this->staging->
addTest($test);
} /**
* @return TwigTest[]
*/
public function getTests(): array
{ if (!
$this->initialized
) { $this->
initExtensions();
}