Files
Bulk file instance from array.
$files = new Files([
'.\path\to\file-1.txt',
'.\path\to\file-2.txt',
'.\path\to\file-3.txt',
'.\path\to\file-4.txt',
]);
foreach ($files as $file) {
echo $file->name . '<br>';
}
Deep learning on using the API.
Files
Bulk file instance from array.
$files = new Files([
'.\path\to\file-1.txt',
'.\path\to\file-2.txt',
'.\path\to\file-3.txt',
'.\path\to\file-4.txt',
]);
foreach ($files as $file) {
echo $file->name . '<br>';
}
0 Comments
No comments yet.