ncc/tests/functions/autoload_builder.php
Netkas de88a4fb9e
- Added the ability to compile executable binaries for php using gcc
- Refactored execution unit system to use a new execution pointer system
 - Refactored `PhpRunner` to use the new execution pointer system
 - Refactored `BashRunner` to use the new execution pointer system
 - Refactored `LuaRunner` to use the new execution pointer system
 - Refactored `PerlRunner` to use the new execution pointer system
 - Refactored `PythonRunner` to use the new execution pointer system
 - Removed dependency `theseer\Autoload` in favor of ncc's own autoloader (screw you Arne Blankerts)
 - Refactored ZiProto
 - Removed runners `Python2` & `Python3` in favor of `Python`
2023-09-10 22:47:24 -04:00

14 lines
No EOL
384 B
PHP

<?php
require 'ncc';
$files = \ncc\Utilities\Functions::scanDirectory(
'/home/netkas/PhpstormProjects/ncc/src/ncc',
\ncc\Enums\ComponentFileExtensions::PHP
);
$autoload_generator = new \ncc\Classes\PhpExtension\AutoloadGenerator();
$autoload = $autoload_generator->generateAutoloaderArray($files);
var_dump($files);
var_dump($autoload);