core icon indicating copy to clipboard operation
core copied to clipboard

Can I disable Flights autoloader and use composer instead?

Open Brainshack opened this issue 7 years ago • 2 comments

Hello,

is there a way to disable autoloading inside Flight and Use composer for autoloading instead? I need Flight to go through composers autoloader to be able to use it with goaop. Is there a way to do so?

Brainshack avatar Jan 25 '18 17:01 Brainshack

Flight's autoloader is enabled in autoloader.php. You can try editing the package.json file to not load that file.

mikecao avatar Jan 26 '18 17:01 mikecao

Alternatively, you could call spl_autoload_functions(), search for Flight's autoloader and unregister it from class loaders stack or move it down.

lisachenko avatar Feb 05 '18 13:02 lisachenko

Seems addressed.

n0nag0n avatar Jan 03 '24 21:01 n0nag0n