Closed salahy2 closed 6 years ago
@softon I am getting the same error in L5.4 also.
@softon @salahy2 I tried to edit the SmsServiceProvider.php
file as given below -
$this->app->bind('sms', 'Softon\Sms\Sms');
$this->app->bind('Softon\Sms\Gateways\SmsGatewayInterface','Softon\Sms\Gateways\\'.$gateway.'Gateway');
$this->app->bind('Softon\Sms\SmsViewInterface','Softon\Sms\Sms'.$view.'View');
here I have removed the initial backslash \
from the namespace and it started working.
Hello, I am getting same message with L5.5. Is there any official solution for it?
Is it possible that I can use multiple custom gateway? Also is it possible to setup blade template for multiple sms message?
Thanks.
Thanks.
I am getting error when using it in Laravel 5.5 same code worked perfectly on 5.2
Target [Softon\Sms\Gateways\SmsGatewayInterface] is not instantiable while building [\Softon\Sms\Sms].