These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /** |
||
4 | * Gearman Bundle for Symfony2 / Symfony3 |
||
5 | * |
||
6 | * For the full copyright and license information, please view the LICENSE |
||
7 | * file that was distributed with this source code. |
||
8 | * |
||
9 | * Feel free to edit as you please, and have fun. |
||
10 | * |
||
11 | * @author Marc Morera <[email protected]> |
||
12 | */ |
||
13 | |||
14 | namespace Mkk\GearmanBundle; |
||
15 | |||
16 | /** |
||
17 | * Gearman available methods |
||
18 | */ |
||
19 | class GearmanMethods |
||
20 | { |
||
21 | /** |
||
22 | * Gearman method do |
||
23 | * |
||
24 | * The GearmanClient::do() method is deprecated as of pecl/gearman 1.0.0. |
||
25 | * Use GearmanClient::doNormal(). |
||
26 | * |
||
27 | * @see http://www.php.net/manual/en/gearmanclient.do.php |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const GEARMAN_METHOD_DO = 'do'; |
||
32 | |||
33 | /** |
||
34 | * Gearman method doNormal |
||
35 | * |
||
36 | * @see http://www.php.net/manual/en/gearmanclient.donormal.php |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | const GEARMAN_METHOD_DONORMAL = 'doNormal'; |
||
41 | |||
42 | /** |
||
43 | * Gearman method doLow |
||
44 | * |
||
45 | * @see http://www.php.net/manual/en/gearmanclient.dolow.php |
||
46 | * |
||
47 | * @var string |
||
48 | */ |
||
49 | const GEARMAN_METHOD_DOLOW = 'doLow'; |
||
50 | |||
51 | /** |
||
52 | * Gearman method doHigh |
||
53 | * |
||
54 | * @see http://www.php.net/manual/en/gearmanclient.dohigh.php |
||
55 | * |
||
56 | * @var string |
||
57 | */ |
||
58 | const GEARMAN_METHOD_DOHIGH = 'doHigh'; |
||
59 | |||
60 | /** |
||
61 | * Gearman method doBackground |
||
62 | * |
||
63 | * @see http://php.net/manual/en/gearmanclient.dobackground.php |
||
64 | * |
||
65 | * @var string |
||
66 | */ |
||
67 | const GEARMAN_METHOD_DOBACKGROUND = 'doBackground'; |
||
68 | |||
69 | /** |
||
70 | * Gearman method doLowBackgound |
||
71 | * |
||
72 | * @see http://php.net/manual/en/gearmanclient.dolowbackground.php |
||
73 | * |
||
74 | * @var string |
||
75 | */ |
||
76 | const GEARMAN_METHOD_DOLOWBACKGROUND = 'doLowBackground'; |
||
77 | |||
78 | /** |
||
79 | * Gearman method doHighBackground |
||
80 | * |
||
81 | * @see http://php.net/manual/en/gearmanclient.dohighbackground.php |
||
82 | * |
||
83 | * @var string |
||
84 | */ |
||
85 | const GEARMAN_METHOD_DOHIGHBACKGROUND = 'doHighBackground'; |
||
86 | |||
87 | /** |
||
88 | * Tasks methods |
||
89 | */ |
||
90 | |||
91 | /** |
||
92 | * Gearman method addTask |
||
93 | * |
||
94 | * @see http://www.php.net/manual/en/gearmanclient.addtask.php |
||
95 | * |
||
96 | * @var string |
||
97 | */ |
||
98 | const GEARMAN_METHOD_ADDTASK = 'addTask'; |
||
99 | |||
100 | /** |
||
101 | * Gearman method addTaskLow |
||
102 | * |
||
103 | * @see http://www.php.net/manual/en/gearmanclient.addtasklow.php |
||
104 | * |
||
105 | * @var string |
||
106 | */ |
||
107 | const GEARMAN_METHOD_ADDTASKLOW = 'addTaskLow'; |
||
108 | |||
109 | /** |
||
110 | * Gearman method addTaskHigh |
||
111 | * |
||
112 | * @see http://www.php.net/manual/en/gearmanclient.addtaskhigh.php |
||
113 | * |
||
114 | * @var string |
||
115 | */ |
||
116 | const GEARMAN_METHOD_ADDTASKHIGH = 'addTaskHigh'; |
||
117 | |||
118 | /** |
||
119 | * Gearman method addTaskBackground |
||
120 | * |
||
121 | * @see http://www.php.net/manual/en/gearmanclient.addtaskbackground.php |
||
122 | * |
||
123 | * @var string |
||
124 | */ |
||
125 | const GEARMAN_METHOD_ADDTASKBACKGROUND = 'addTaskBackground'; |
||
126 | |||
127 | /** |
||
128 | * Gearman method addTaskLowBackground |
||
129 | * |
||
130 | * @see http://www.php.net/manual/en/gearmanclient.addtasklowbackground.php |
||
131 | * |
||
132 | * @var string |
||
133 | */ |
||
134 | const GEARMAN_METHOD_ADDTASKLOWBACKGROUND = 'addTaskLowBackground'; |
||
135 | |||
136 | /** |
||
137 | * Gearman method addTaskHighBackground |
||
138 | * |
||
139 | * @see http://www.php.net/manual/en/gearmanclient.addtaskhighbackground.php |
||
140 | * |
||
141 | * @var string |
||
142 | */ |
||
143 | const GEARMAN_METHOD_ADDTASKHIGHBACKGROUND = 'addTaskHighBackground'; |
||
144 | } |
||
0 ignored issues
–
show
|
|||
145 |
This check marks files that end in a newline character, i.e. an empy line.