1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
invoiceninja/app/Services/CreditService.php

25 lines
466 B
PHP
Raw Normal View History

2015-10-28 20:22:07 +01:00
<?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);
}
}