Has anyone tips for organizing service provider class files? Then in turn, thin out the service provider injection class?
For instance I have a form service provider that injections validation service into them:
$app->bind('Namespace\Service\Form\Client\ClientForm', function($app)
{
return new ClientForm(
new ClientFormLaravelValidator( $app['validator'] ),
$app->make('Namespace\Repo\Client\ClientInterface')
);
});
The bloat comes from about 15 or so forms. Looking for some guidance on better organization.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community