private function PharStreamWrapper::invokeInternalStreamWrapper in Drupal 7
Invokes commands on the native PHP Phar stream wrapper.
Parameters
string $functionName:
mixed ...$arguments:
Return value
mixed
21 calls to PharStreamWrapper::invokeInternalStreamWrapper()
- PharStreamWrapper::dir_closedir in misc/
typo3/ phar-stream-wrapper/ src/ PharStreamWrapper.php  - PharStreamWrapper::dir_opendir in misc/
typo3/ phar-stream-wrapper/ src/ PharStreamWrapper.php  - PharStreamWrapper::dir_readdir in misc/
typo3/ phar-stream-wrapper/ src/ PharStreamWrapper.php  - PharStreamWrapper::dir_rewinddir in misc/
typo3/ phar-stream-wrapper/ src/ PharStreamWrapper.php  - PharStreamWrapper::mkdir in misc/
typo3/ phar-stream-wrapper/ src/ PharStreamWrapper.php  
File
- misc/
typo3/ phar-stream-wrapper/ src/ PharStreamWrapper.php, line 475  
Class
Namespace
TYPO3\PharStreamWrapperCode
private function invokeInternalStreamWrapper($functionName) {
  $arguments = func_get_args();
  array_shift($arguments);
  $silentExecution = $functionName[0] === '@';
  $functionName = ltrim($functionName, '@');
  $this
    ->restoreInternalSteamWrapper();
  try {
    if ($silentExecution) {
      $result = @call_user_func_array($functionName, $arguments);
    }
    else {
      $result = call_user_func_array($functionName, $arguments);
    }
  } catch (\Exception $exception) {
    $this
      ->registerStreamWrapper();
    throw $exception;
  } catch (\Throwable $throwable) {
    $this
      ->registerStreamWrapper();
    throw $throwable;
  }
  $this
    ->registerStreamWrapper();
  return $result;
}