public function stream_open($path, $mode, $options, $opened_path) { $this->path = $path; self::recordMethodCall('stream_open', $this->path); return parent::stream_open($path, $mode, $options, $opened_path); }