You are here

public function PharStreamWrapper::url_stat in Drupal 7

Parameters

string $path:

int $flags:

Return value

array|false

File

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

Class

PharStreamWrapper

Namespace

TYPO3\PharStreamWrapper

Code

public function url_stat($path, $flags) {
  $this
    ->assert($path, Behavior::COMMAND_URL_STAT);
  $functionName = $flags & STREAM_URL_STAT_QUIET ? '@stat' : 'stat';
  return $this
    ->invokeInternalStreamWrapper($functionName, $path);
}