@@ 51-58 (lines=8) @@ | ||
48 | /** |
|
49 | * @return \Cubiche\Core\Specification\Selector |
|
50 | */ |
|
51 | public static function false() |
|
52 | { |
|
53 | if (self::$false === null) { |
|
54 | self::$false = new Selector(new Value(false)); |
|
55 | } |
|
56 | ||
57 | return self::$false; |
|
58 | } |
|
59 | ||
60 | /** |
|
61 | * @return \Cubiche\Core\Specification\Selector |
|
@@ 63-70 (lines=8) @@ | ||
60 | /** |
|
61 | * @return \Cubiche\Core\Specification\Selector |
|
62 | */ |
|
63 | public static function true() |
|
64 | { |
|
65 | if (self::$true === null) { |
|
66 | self::$true = new Selector(new Value(true)); |
|
67 | } |
|
68 | ||
69 | return self::$true; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @return \Cubiche\Core\Specification\Selector |
|
@@ 75-82 (lines=8) @@ | ||
72 | /** |
|
73 | * @return \Cubiche\Core\Specification\Selector |
|
74 | */ |
|
75 | public static function null() |
|
76 | { |
|
77 | if (self::$null === null) { |
|
78 | self::$null = new Selector(new Value(null)); |
|
79 | } |
|
80 | ||
81 | return self::$null; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $key |