function ConjunctionInterceptor::assert
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.