function PharStreamWrapper::assert

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.