php artisan services
php artisan make:provider RiakServiceProvider
php artisan services
php artisan make:provider RiakServiceProvider
create services in laravel with command line
class ServiceMakeCommand extends GeneratorCommand
{
protected $name = 'make:service';
protected $signature = 'make:service {name: Create your own service}';
protected $description = 'Create a service for repository pattern';
protected $type = 'Service';
protected function getStub()
{
return app_path('Console/Stubs/service.stub');
}
protected function getDefaultNamespace($rootNamespace)
{
return $rootNamespace . 'Services';
}
}
create services in laravel with command line
<?php
namespace AppService;
class DummyClass
{
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us