Closed thinksaydo closed 8 years ago
+1, this issue stops me from upgrading to 5.2.
Switching to this method will not break Laravel 5.1 compatibility either, so it should be accepted as soon as possible now that 5.2 has been released.
:+1: That method has existed to replace the old bindShared method for a long time, I think since L4.2.
I finally deleted the bindShared method in 5.2, sorry guys, lol.
Thanks @GrahamCampbell, I know it's been on the chopping block for a while. Any chance you can accept this pull request so we can get Color Extractor working in 5.2 again? Right now we're just using our fork until this gets resolved.
Would definitely appreciate this getting accepted :pray: :+1:
Is there any compatibility issue? Would this break under Laravel < 4.2?
Is there any compatibility issue? Would this break under Laravel < 4.2?
Not 4.2 I think, but maybe 4.1. I can't remember.
Seems singleton
existed since laravel uses composer so it shouldn't be a problem.
Seems singleton existed since laravel uses composer so it shouldn't be a problem.
Yeh, it existed, but I think it's behaviour changed a bit.
I didn't see any difference between versions. Considering it seems unlikely to cause BC I'll merge this and see later if issues arise because of this.
Close #35
Thanks @thinksaydo
Laravel 5.2 deprecates the bindShared method in favor of the singleton method (see http://laravel.com/docs/master/upgrade).