You are here

protected function PharStreamWrapper::assert in Drupal 7

Parameters

string $path:

string $command:

8 calls to PharStreamWrapper::assert()
PharStreamWrapper::dir_opendir in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php
PharStreamWrapper::mkdir in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php
PharStreamWrapper::rename in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php
PharStreamWrapper::rmdir in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php
PharStreamWrapper::stream_metadata in misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php

... See full list

File

misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php, line 417

Class

PharStreamWrapper

Namespace

TYPO3\PharStreamWrapper

Code

protected function assert($path, $command) {
  if (Manager::instance()
    ->assert($path, $command) === true) {
    $this
      ->collectInvocation($path);
    return;
  }
  throw new Exception(sprintf('Denied invocation of "%s" for command "%s"', $path, $command), 1535189880);
}