You are here

private function Behavior::assertCommand in Drupal 7

1 call to Behavior::assertCommand()
Behavior::assert in misc/typo3/phar-stream-wrapper/src/Behavior.php

File

misc/typo3/phar-stream-wrapper/src/Behavior.php, line 93

Class

Behavior

Namespace

TYPO3\PharStreamWrapper

Code

private function assertCommand($command) {
  if (in_array($command, $this->availableCommands, true)) {
    return;
  }
  throw new \LogicException(sprintf('Unknown command "%s"', $command), 1535189882);
}