How to extend Laravel core class MessageBags <p>I need to extend <em>Illuminate\Support\MessageBag</em> because of add some help methods but <strong>I cant bind</strong> my own class App\Support\MyMessageBag to laravel use my class (that extends App\Support\MyMessageBag) instead of original core class.</p> <p>Do you have any ideas?</p>