You are here

public static function vfsStreamWrapperRecordingProxy::getMethodCalls 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::getMethodCalls()

returns recorded method calls for given path

Parameters

string $path:

Return value

array<string>

File

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

Class

vfsStreamWrapperRecordingProxy
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public static function getMethodCalls($path) {
  if (isset(self::$calledMethods[$path]) === true) {
    return self::$calledMethods[$path];
  }
  return array();
}