@@ -16,5 +16,9 @@ |
||
16 | 16 | * @author Jelle Sebreghts |
17 | 17 | */ |
18 | 18 | interface ProxyInterface extends EntityInterface, EntityManagerConsumerInterface { |
19 | + |
|
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
19 | 23 | public function setSportsDbClient(TheSportsDbClientInterface $sportsDbClient); |
20 | 24 | } |
@@ -25,6 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param \TheSportsDb\Entity\LeagueInterface $league |
27 | 27 | * The league to add. |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function addLeague(LeagueInterface $league); |
30 | 31 | } |
@@ -130,6 +130,7 @@ |
||
130 | 130 | |
131 | 131 | /** |
132 | 132 | * {@inheritdoc} |
133 | + * @param string $entityType |
|
133 | 134 | */ |
134 | 135 | public function getPropertyMapDefinition($entityType) { |
135 | 136 | if (!isset($this->propertyMapDefinitions[$entityType])) { |
@@ -12,8 +12,24 @@ |
||
12 | 12 | * @author Jelle Sebreghts |
13 | 13 | */ |
14 | 14 | interface TeamRepositoryInterface extends RepositoryInterface { |
15 | + |
|
16 | + /** |
|
17 | + * @return \TheSportsDb\Entity\EntityInterface[] |
|
18 | + */ |
|
15 | 19 | public function byName($name); |
20 | + |
|
21 | + /** |
|
22 | + * @return \TheSportsDb\Entity\EntityInterface[] |
|
23 | + */ |
|
16 | 24 | public function byLeague($leagueId); |
25 | + |
|
26 | + /** |
|
27 | + * @return \TheSportsDb\Entity\EntityInterface[] |
|
28 | + */ |
|
17 | 29 | public function byLeagueName($leagueName); |
30 | + |
|
31 | + /** |
|
32 | + * @return \TheSportsDb\Entity\EntityInterface[] |
|
33 | + */ |
|
18 | 34 | public function bySportAndCountry($sport, $country); |
19 | 35 | } |