function Behavior::assertAssertionCompleteness
1 call to Behavior::assertAssertionCompleteness()
- Behavior::assert in misc/
typo3/ phar-stream-wrapper/ src/ Behavior.php
File
-
misc/
typo3/ phar-stream-wrapper/ src/ Behavior.php, line 107
Class
Namespace
TYPO3\PharStreamWrapperCode
private function assertAssertionCompleteness() {
$undefinedAssertions = array_diff($this->availableCommands, array_keys($this->assertions));
if (empty($undefinedAssertions)) {
return;
}
throw new \LogicException(sprintf('Missing assertions for commands: %s', implode(', ', $undefinedAssertions)), 1535189883);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.