Mecha CMS

Deep learning on using the API.

Folders

Bulk folder instance from array.

2.2.0Genome

$folders = new Folders([
    '.\path\to\folder-1',
    '.\path\to\folder-2',
    '.\path\to\folder-3',
    '.\path\to\folder-4',
]);

foreach ($folders as $folder) {
    echo $folder->name . '<br>';
}