You are here

protected static function vfsStreamWrapperRecordingProxy::recordMethodCall in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php \org\bovigo\vfs\vfsStreamWrapperRecordingProxy::recordMethodCall()

records method call for given path

Parameters

string $method:

string $path:

20 calls to vfsStreamWrapperRecordingProxy::recordMethodCall()
vfsStreamWrapperRecordingProxy::dir_closedir in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
closes directory
vfsStreamWrapperRecordingProxy::dir_opendir in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
opens a directory
vfsStreamWrapperRecordingProxy::dir_readdir in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
reads directory contents
vfsStreamWrapperRecordingProxy::dir_rewinddir in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
reset directory iteration
vfsStreamWrapperRecordingProxy::mkdir in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php
creates a new directory

... See full list

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/proxy/vfsStreamWrapperRecordingProxy.php, line 37

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

protected static function recordMethodCall($method, $path) {
  if (isset(self::$calledMethods[$path]) === false) {
    self::$calledMethods[$path] = array();
  }
  self::$calledMethods[$path][] = $method;
}