invoiceninja/app/Services/ClientService.php
2015-10-28 21:22:07 +02:00

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);
}
}