1 | <?php |
||
23 | abstract class AbstractType implements Type |
||
24 | { |
||
25 | private |
||
26 | $name; |
||
1 ignored issue
–
show
|
|||
27 | |||
28 | 80 | public function __construct(string $name) |
|
32 | |||
33 | 250 | public function getName(): string |
|
37 | |||
38 | public function equal($value): Conditions\Equal |
||
42 | |||
43 | public function different($value): Conditions\Different |
||
47 | |||
48 | public function like($value): Conditions\Like |
||
52 | |||
53 | public function notLike($value): Conditions\NotLike |
||
57 | |||
58 | public function greaterThan($value): Conditions\Greater |
||
62 | |||
63 | public function greaterOrEqualThan($value): Conditions\GreaterOrEqual |
||
67 | |||
68 | public function lowerThan($value): Conditions\Lower |
||
72 | |||
73 | public function lowerOrEqualThan($value): Conditions\LowerOrEqual |
||
77 | |||
78 | public function between($start, $end): Conditions\Between |
||
82 | |||
83 | public function in(array $values): Conditions\In |
||
87 | |||
88 | public function isNull(): Conditions\IsNull |
||
92 | |||
93 | public function isNotNull(): Conditions\IsNotNull |
||
97 | |||
98 | public function notIn(array $values): Conditions\NotIn |
||
102 | } |
||
103 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.