@@ -29,55 +29,55 @@ |
||
29 | 29 | * @since 12.0.0 |
30 | 30 | */ |
31 | 31 | interface IFunctionBuilder { |
32 | - /** |
|
33 | - * Calculates the MD5 hash of a given input |
|
34 | - * |
|
35 | - * @param mixed $input The input to be hashed |
|
36 | - * |
|
37 | - * @return IQueryFunction |
|
38 | - * @since 12.0.0 |
|
39 | - */ |
|
40 | - public function md5($input); |
|
32 | + /** |
|
33 | + * Calculates the MD5 hash of a given input |
|
34 | + * |
|
35 | + * @param mixed $input The input to be hashed |
|
36 | + * |
|
37 | + * @return IQueryFunction |
|
38 | + * @since 12.0.0 |
|
39 | + */ |
|
40 | + public function md5($input); |
|
41 | 41 | |
42 | - /** |
|
43 | - * Combines two input strings |
|
44 | - * |
|
45 | - * @param mixed $x The first input string |
|
46 | - * @param mixed $y The seccond input string |
|
47 | - * |
|
48 | - * @return IQueryFunction |
|
49 | - * @since 12.0.0 |
|
50 | - */ |
|
51 | - public function concat($x, $y); |
|
42 | + /** |
|
43 | + * Combines two input strings |
|
44 | + * |
|
45 | + * @param mixed $x The first input string |
|
46 | + * @param mixed $y The seccond input string |
|
47 | + * |
|
48 | + * @return IQueryFunction |
|
49 | + * @since 12.0.0 |
|
50 | + */ |
|
51 | + public function concat($x, $y); |
|
52 | 52 | |
53 | - /** |
|
54 | - * Takes a substring from the input string |
|
55 | - * |
|
56 | - * @param mixed $input The input string |
|
57 | - * @param mixed $start The start of the substring, note that counting starts at 1 |
|
58 | - * @param mixed $length The length of the substring |
|
59 | - * |
|
60 | - * @return IQueryFunction |
|
61 | - * @since 12.0.0 |
|
62 | - */ |
|
63 | - public function substring($input, $start, $length = null); |
|
53 | + /** |
|
54 | + * Takes a substring from the input string |
|
55 | + * |
|
56 | + * @param mixed $input The input string |
|
57 | + * @param mixed $start The start of the substring, note that counting starts at 1 |
|
58 | + * @param mixed $length The length of the substring |
|
59 | + * |
|
60 | + * @return IQueryFunction |
|
61 | + * @since 12.0.0 |
|
62 | + */ |
|
63 | + public function substring($input, $start, $length = null); |
|
64 | 64 | |
65 | - /** |
|
66 | - * Takes the sum of all rows in a column |
|
67 | - * |
|
68 | - * @param mixed $field the column to sum |
|
69 | - * |
|
70 | - * @return IQueryFunction |
|
71 | - * @since 12.0.0 |
|
72 | - */ |
|
73 | - public function sum($field); |
|
65 | + /** |
|
66 | + * Takes the sum of all rows in a column |
|
67 | + * |
|
68 | + * @param mixed $field the column to sum |
|
69 | + * |
|
70 | + * @return IQueryFunction |
|
71 | + * @since 12.0.0 |
|
72 | + */ |
|
73 | + public function sum($field); |
|
74 | 74 | |
75 | - /** |
|
76 | - * Transforms a string field or value to lower case |
|
77 | - * |
|
78 | - * @param mixed $field |
|
79 | - * @return IQueryFunction |
|
80 | - * @since 14.0.0 |
|
81 | - */ |
|
82 | - public function lower($field); |
|
75 | + /** |
|
76 | + * Transforms a string field or value to lower case |
|
77 | + * |
|
78 | + * @param mixed $field |
|
79 | + * @return IQueryFunction |
|
80 | + * @since 14.0.0 |
|
81 | + */ |
|
82 | + public function lower($field); |
|
83 | 83 | } |