Search found 3 matches
- 16 Jun 2020, 11:24
- Forum: Laravel package
- Topic: Edit sanitize method in vendor file
- Replies: 5
- Views: 1465
Re: Edit sanitize method in vendor file
Yes it works, thanks. And in case of similiar problem in future, the best practice is to extend original class with service provider ?
If you publish new upgrade, only vendor files are changed or files in root folder (for example /ext/ folder) too ?
Thanks
If you publish new upgrade, only vendor files are changed or files in root folder (for example /ext/ folder) too ?
Thanks
- 15 Jun 2020, 12:01
- Forum: Laravel package
- Topic: Edit sanitize method in vendor file
- Replies: 5
- Views: 1465
Re: Edit sanitize method in vendor file
Thanks for your response. So I can do it with service provider, as mentioned here ? https://laracasts.com/discuss/channels/laravel/how-to-know-where-to-override-vendor-methods I need to change it, because there are missing letters, when you write product label in Czech / Slovak language. When you wr...
- 12 Jun 2020, 11:48
- Forum: Laravel package
- Topic: Edit sanitize method in vendor file
- Replies: 5
- Views: 1465
Edit sanitize method in vendor file
Hello, I need to overide method sanitize in \vendor\aimeos\aimeos-core\lib\mwlib\src\MW\Common\Base.php What is the best practice to do that to avoid upgrade issues in the future ? One similiar solution I made before: When the product is saved in admin, it generates sanitized URL for url.segment. I ...