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 that you have read and understand our privacy policy and code of conduct.

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