src/POData/Common/Version.php 1 location
|
@@ 126-132 (lines=7) @@
|
| 123 |
|
private static $fixedVersion; |
| 124 |
|
|
| 125 |
|
private static function fillVersions(){ |
| 126 |
|
if(is_null(self::$fixedVersion)){ |
| 127 |
|
self::$fixedVersion = array( |
| 128 |
|
1 => new Version(1,0), |
| 129 |
|
2 => new Version(2,0), |
| 130 |
|
3 => new Version(3,0), |
| 131 |
|
); |
| 132 |
|
} |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
public static function v1() |
src/POData/UriProcessor/RequestDescription.php 1 location
|
@@ 976-982 (lines=7) @@
|
| 973 |
|
*/ |
| 974 |
|
public static function getKnownDataServiceVersions() |
| 975 |
|
{ |
| 976 |
|
if (is_null(self::$_knownDataServiceVersions)) { |
| 977 |
|
self::$_knownDataServiceVersions = array( |
| 978 |
|
new Version(1, 0), |
| 979 |
|
new Version(2, 0), |
| 980 |
|
new Version(3, 0) |
| 981 |
|
); |
| 982 |
|
} |
| 983 |
|
|
| 984 |
|
return self::$_knownDataServiceVersions; |
| 985 |
|
} |