1 | <?php |
||
12 | class UserRepository extends BaseUserRepository implements ConfirmationSubjectFinderInterface |
||
13 | { |
||
14 | /** |
||
15 | * @param $propertyPath |
||
16 | * @param $value |
||
17 | * @return mixed |
||
18 | * @throws NonUniqueResultException |
||
19 | */ |
||
20 | public function findConfirmationSubject($propertyPath, $value) |
||
44 | |||
45 | public function loadUserByAuthorizationRoles(array $roles) |
||
56 | } |
||
57 |
If you implement
__call
and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__call
is implemented by a parent class and only the child class knows which methods exist: