It's not a problem. The container can resolve your class only if its has full namspaced name.
Okay, Thanks this was a namespace problem.
$this->app->bind('runner\districts\IDistrictsRepository', function()
{
return new DistrictsRepository;
});
It works.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community