Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Go
Instrument
FileSystem
Enumerator
getFileFullPath
Go\Instrument\FileSystem\Enumerator::getFileFullPath PHP Method
Enumerator Class Documentation
Show file
Open project: goaop/framework
getFileFullPath()
protected
method
This is used for testing purpose with virtual file system. In a vfs the 'realPath' methode will always return false. So we have a chance to mock this single function to return different path.
protected
getFileFullPath
(
SplFileInfo
$file
) :
string
$file
SplFileInfo
return
string
protected function getFileFullPath(\SplFileInfo $file) { return $file->getRealPath(); }
Enumerator
__construct
enumerate
getFileFullPath
getFilter