Skip to content
Snippets Groups Projects
Commit aaae7b2c authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Remove getPersonForExternalService from PersonProviderInterface

It's not used, so remove for now.
parent a7e3c201
Branches
Tags v0.1.6
No related merge requests found
Pipeline #86111 passed
......@@ -58,13 +58,6 @@ class PersonProvider implements PersonProviderInterface
return $people;
}
public function getPersonsByNameAndBirthDate(string $givenName, string $familyName, string $birthDate): array
{
$people = some_method_to_fetch_persons_by_name_and_birthday($givenName, $familyName, $birthDate);
return $people;
}
public function getPerson(string $id): Person
{
return some_method_to_fetch_person_by_id($id);
......
......@@ -15,11 +15,6 @@ interface PersonProviderInterface
*/
public function getPersons(array $filters): array;
/**
* @return Person[]
*/
public function getPersonsByNameAndBirthDate(string $givenName, string $familyName, string $birthDate): array;
public function getPerson(string $id): Person;
/**
......
......@@ -29,11 +29,6 @@ class DummyPersonProvider implements PersonProviderInterface
return [];
}
public function getPersonsByNameAndBirthDate(string $givenName, string $familyName, string $birthDate): array
{
return [];
}
public function getPerson(string $id): Person
{
$person = new Person();
......
......@@ -43,11 +43,6 @@ class DummyPersonProvider implements PersonProviderInterface
throw new ItemNotFoundException();
}
public function getPersonsByNameAndBirthDate(string $givenName, string $familyName, string $birthDate): array
{
return [];
}
public function setCurrentIdentifier(string $identifier): void
{
$this->person->setIdentifier($identifier);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment