You are here

private function ConjunctionInterceptor::assertAssertions in Drupal 7

Parameters

Assertable[] $assertions:

1 call to ConjunctionInterceptor::assertAssertions()
ConjunctionInterceptor::__construct in misc/typo3/phar-stream-wrapper/src/Interceptor/ConjunctionInterceptor.php

File

misc/typo3/phar-stream-wrapper/src/Interceptor/ConjunctionInterceptor.php, line 55

Class

ConjunctionInterceptor

Namespace

TYPO3\PharStreamWrapper\Interceptor

Code

private function assertAssertions(array $assertions) {
  foreach ($assertions as $assertion) {
    if (!$assertion instanceof Assertable) {
      throw new \InvalidArgumentException(sprintf('Instance %s must implement Assertable', get_class($assertion)), 1539624719);
    }
  }
}