FileHelper
class FileHelper implements ProtectedContextAwareInterface (View source)
Helper to read files.
Methods
string
readFile(string $filepath)
Read and return the files contents for further use.
string
getSha1(string $filepath)
No description
array
fileInfo(string $filepath)
Get file name and path information
array
stat(string $filepath)
Get file information like creation and modification times as well as size.
bool
exists(string $filepath)
Check if the given file path exists
bool
allowsCallOfMethod(string $methodName)
No description
Details
string
readFile(string $filepath)
Read and return the files contents for further use.
string
getSha1(string $filepath)
No description
array
fileInfo(string $filepath)
Get file name and path information
array
stat(string $filepath)
Get file information like creation and modification times as well as size.
bool
exists(string $filepath)
Check if the given file path exists
bool
allowsCallOfMethod(string $methodName)
No description