You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
238 B

4 years ago
  1. <?php
  2. use Illuminate\Support\Str;
  3. $helpers = scandir(__DIR__);
  4. foreach ($helpers as $helper) {
  5. $filename = Str::of($helper)->trim(".");
  6. if ($filename->isEmpty()) {
  7. continue;
  8. }
  9. require_once (string) $filename;
  10. }