You are here

private function Behavior::assertAssertionCompleteness in Drupal 7

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

Behavior

Namespace

TYPO3\PharStreamWrapper

Code

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);
}