Navigation: Development > Function Reference > Helpers > Utility >
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"));