1 | <?php |
||
20 | class Fetcher extends Repository |
||
21 | { |
||
22 | /** |
||
23 | * @var Project\Issue |
||
24 | */ |
||
25 | protected $model; |
||
26 | |||
27 | public function __construct(Project\Issue $model) |
||
31 | |||
32 | public function getByNumber($number) |
||
36 | |||
37 | /** |
||
38 | * Returns the status tag. |
||
39 | * |
||
40 | * @return Tag |
||
41 | */ |
||
42 | public function getStatusTag() |
||
46 | |||
47 | /** |
||
48 | * Returns the type tag. |
||
49 | * |
||
50 | * @return Tag |
||
51 | */ |
||
52 | public function getTypeTag() |
||
56 | |||
57 | /** |
||
58 | * Returns the resolution tag. |
||
59 | * |
||
60 | * @return Tag |
||
61 | */ |
||
62 | public function getResolutionTag() |
||
66 | |||
67 | /** |
||
68 | * Get collection of issue activities. |
||
69 | * |
||
70 | * @return Collection |
||
71 | */ |
||
72 | public function getGeneralActivities() |
||
83 | |||
84 | /** |
||
85 | * Get collection of issue comments. |
||
86 | * |
||
87 | * @return Collection |
||
88 | */ |
||
89 | public function getCommentActivities() |
||
105 | |||
106 | /** |
||
107 | * Return tag by it group name. |
||
108 | * |
||
109 | * @param string $group |
||
110 | * |
||
111 | * @return Tag |
||
112 | */ |
||
113 | protected function tagOfType($group) |
||
119 | } |
||
120 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.