mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-11-03 02:07:31 -05:00
25 lines
466 B
PHP
25 lines
466 B
PHP
<?php namespace App\Services;
|
|
|
|
use App\Services\BaseService;
|
|
use App\Ninja\Repositories\CreditRepository;
|
|
|
|
|
|
class CreditService extends BaseService
|
|
{
|
|
protected $creditRepo;
|
|
|
|
public function __construct(CreditRepository $creditRepo)
|
|
{
|
|
$this->creditRepo = $creditRepo;
|
|
}
|
|
|
|
protected function getRepo()
|
|
{
|
|
return $this->creditRepo;
|
|
}
|
|
|
|
public function save($data)
|
|
{
|
|
return $this->creditRepo->save($data);
|
|
}
|
|
} |