PHP code example of senhung / loader
1. Go to this page and download the library: Download senhung/loader library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
senhung / loader example snippets
enhung\Loader\Loader;
/* Load all files under current directory */
Loader::load('.', -1);
Loader::load(string $directory [, int $depth [, array $priorityFiles [, array $extensions]]]): void
Loader::getAllChildClasses(string|object $class): array