Completed
Push — master ( 2fc752...029438 )
by Mickael
04:22
created

GearmanMethods.php (1 issue)

Upgrade to new PHP Analysis Engine

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
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 Mmoreram\GearmanBundle;
15
16
/**
17
 * Gearman available methods
18
 *
19
 * @since 2.3.1
20
 */
21
class GearmanMethods
22
{
23
    /**
24
     * Gearman method do
25
     *
26
     * The GearmanClient::do() method is deprecated as of pecl/gearman 1.0.0.
27
     * Use GearmanClient::doNormal().
28
     *
29
     * @see http://www.php.net/manual/en/gearmanclient.do.php
30
     *
31
     * @var string
32
     */
33
    const GEARMAN_METHOD_DO = 'do';
34
35
    /**
36
     * Gearman method doNormal
37
     *
38
     * @see http://www.php.net/manual/en/gearmanclient.donormal.php
39
     *
40
     * @var string
41
     */
42
    const GEARMAN_METHOD_DONORMAL = 'doNormal';
43
44
    /**
45
     * Gearman method doLow
46
     *
47
     * @see http://www.php.net/manual/en/gearmanclient.dolow.php
48
     *
49
     * @var string
50
     */
51
    const GEARMAN_METHOD_DOLOW = 'doLow';
52
53
    /**
54
     * Gearman method doHigh
55
     *
56
     * @see http://www.php.net/manual/en/gearmanclient.dohigh.php
57
     *
58
     * @var string
59
     */
60
    const GEARMAN_METHOD_DOHIGH = 'doHigh';
61
62
    /**
63
     * Gearman method doBackground
64
     *
65
     * @see http://php.net/manual/en/gearmanclient.dobackground.php
66
     *
67
     * @var string
68
     */
69
    const GEARMAN_METHOD_DOBACKGROUND = 'doBackground';
70
71
    /**
72
     * Gearman method doLowBackgound
73
     *
74
     * @see http://php.net/manual/en/gearmanclient.dolowbackground.php
75
     *
76
     * @var string
77
     */
78
    const GEARMAN_METHOD_DOLOWBACKGROUND = 'doLowBackground';
79
80
    /**
81
     * Gearman method doHighBackground
82
     *
83
     * @see http://php.net/manual/en/gearmanclient.dohighbackground.php
84
     *
85
     * @var string
86
     */
87
    const GEARMAN_METHOD_DOHIGHBACKGROUND = 'doHighBackground';
88
89
    /**
90
     * Tasks methods
91
     */
92
93
    /**
94
     * Gearman method addTask
95
     *
96
     * @see http://www.php.net/manual/en/gearmanclient.addtask.php
97
     *
98
     * @var string
99
     */
100
    const GEARMAN_METHOD_ADDTASK = 'addTask';
101
102
    /**
103
     * Gearman method addTaskLow
104
     *
105
     * @see http://www.php.net/manual/en/gearmanclient.addtasklow.php
106
     *
107
     * @var string
108
     */
109
    const GEARMAN_METHOD_ADDTASKLOW = 'addTaskLow';
110
111
    /**
112
     * Gearman method addTaskHigh
113
     *
114
     * @see http://www.php.net/manual/en/gearmanclient.addtaskhigh.php
115
     *
116
     * @var string
117
     */
118
    const GEARMAN_METHOD_ADDTASKHIGH = 'addTaskHigh';
119
120
    /**
121
     * Gearman method addTaskBackground
122
     *
123
     * @see http://www.php.net/manual/en/gearmanclient.addtaskbackground.php
124
     *
125
     * @var string
126
     */
127
    const GEARMAN_METHOD_ADDTASKBACKGROUND = 'addTaskBackground';
128
129
    /**
130
     * Gearman method addTaskLowBackground
131
     *
132
     * @see http://www.php.net/manual/en/gearmanclient.addtasklowbackground.php
133
     *
134
     * @var string
135
     */
136
    const GEARMAN_METHOD_ADDTASKLOWBACKGROUND = 'addTaskLowBackground';
137
138
    /**
139
     * Gearman method addTaskHighBackground
140
     *
141
     * @see http://www.php.net/manual/en/gearmanclient.addtaskhighbackground.php
142
     *
143
     * @var string
144
     */
145
    const GEARMAN_METHOD_ADDTASKHIGHBACKGROUND = 'addTaskHighBackground';
146
}
0 ignored issues
show
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
147