fetchFile

Navigation:  Development > Function Reference > Helpers > Utility >

fetchFile

Previous pageReturn to chapter overviewNext page

Fetch content of a file.

 

App::Utility()->fetchFile(Path)

 

Parameter

Description

Path

File path

 

 

See bellow example:
 

$data = App::Utility()->fetchFile(App::Config()->baseDir("/test.txt"));