public function ConjunctionInterceptor::assert in Drupal 7
Executes assertions based on all contained assertions.
Parameters
string $path:
string $command:
Return value
bool
Throws
Overrides Assertable::assert
File
- misc/
typo3/ phar-stream-wrapper/ src/ Interceptor/ ConjunctionInterceptor.php, line 38
Class
Namespace
TYPO3\PharStreamWrapper\InterceptorCode
public function assert($path, $command) {
if ($this
->invokeAssertions($path, $command)) {
return true;
}
throw new Exception(sprintf('Assertion failed in "%s"', $path), 1539625084);
}