1 | <?php |
||
14 | class Artist extends ArtistEndpoint implements IMusicServiceEndpoint |
||
15 | { |
||
16 | /** |
||
17 | * @return mixed |
||
18 | */ |
||
19 | function getParent() |
||
23 | |||
24 | /** |
||
25 | * Aliases getById |
||
26 | * |
||
27 | * @param $guid |
||
28 | * @return mixed |
||
29 | */ |
||
30 | public function getByGuid($guid) |
||
34 | |||
35 | /** |
||
36 | * @return mixed |
||
37 | */ |
||
38 | function setParent($apiService) |
||
42 | } |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.