mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
25 lines
466 B
PHP
25 lines
466 B
PHP
<?php namespace App\Services;
|
|
|
|
use App\Services\BaseService;
|
|
use App\Ninja\Repositories\ClientRepository;
|
|
|
|
|
|
class ClientService extends BaseService
|
|
{
|
|
protected $clientRepo;
|
|
|
|
public function __construct(ClientRepository $clientRepo)
|
|
{
|
|
$this->clientRepo = $clientRepo;
|
|
}
|
|
|
|
protected function getRepo()
|
|
{
|
|
return $this->clientRepo;
|
|
}
|
|
|
|
public function save($data)
|
|
{
|
|
return $this->clientRepo->save($data);
|
|
}
|
|
} |