Skip to content

Commit

Permalink
feat: getServicosAtivosUnidade
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriolino committed Jan 14, 2025
1 parent a61dbd5 commit 3fc0670
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Repository/ServicoRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

use Doctrine\Persistence\ObjectRepository;
use Novosga\Entity\ServicoInterface;
use Novosga\Entity\UnidadeInterface;

/**
* ServicoRepositoryInterface
Expand All @@ -25,6 +26,13 @@
*/
interface ServicoRepositoryInterface extends ObjectRepository, BaseRepository
{
/**
* Retorna os serivços ativos na unidade
* @param UnidadeInterface $unidade
* @return ServicoInterface[]
*/
public function getServicosAtivosUnidade(UnidadeInterface $unidade): array;

/**
* Retorna os subserviços ativos do serviço informado
* @param ServicoInterface $servico
Expand Down

0 comments on commit 3fc0670

Please sign in to comment.