1 | <?php |
||
20 | class Range extends Variadic |
||
21 | { |
||
22 | /** |
||
23 | * @var mixed |
||
24 | */ |
||
25 | protected $minimum; |
||
26 | |||
27 | /** |
||
28 | * @var mixed |
||
29 | */ |
||
30 | protected $maximum; |
||
31 | |||
32 | /** |
||
33 | * @param bool $maximum |
||
34 | * @param bool $minimum |
||
35 | */ |
||
36 | 2 | public function __construct($maximum, $minimum) |
|
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | 1 | public function __toString() |
|
50 | |||
51 | /** |
||
52 | * @param integer $integer |
||
53 | * @return bool |
||
54 | */ |
||
55 | 1 | public function inRange($integer) |
|
59 | } |
||
60 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.