0

Does anyone know how to override this file?

1 Answer 1

0

If the default magento preferences dont work, I think you can use composer's autoload functionality for that, add something like this to your composer.json:

"autoload": {
"psr-4": {
    "App\\": "app/"
},
"psr-0": {
    "\Monolog\Handler\StreamHandler": "vendor-custom/handler/streamhandler",
}

},

I didnt test this so it could be wrong. More info about this can be found here: https://stackoverflow.com/questions/57600844/composer-override-a-package-file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.