Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webiny
Component
Rest
Tests
Mocks
MockApiClass
getCurrentVersion
Webiny\Component\Rest\Tests\Mocks\MockApiClass::getCurrentVersion PHP Method
MockApiClass Class Documentation
Show file
Open project: Webiny/Framework
getCurrentVersion()
public
static
method
Users can still access the latest version if the specify the latest version number or "latest" as a version name in the X-Webiny-Rest-Version header. Version should be in format of A.B, for example: 1.1
public
static
getCurrentVersion
( ) :
string
return
string
public static function getCurrentVersion() { return '1.0'; }
MockApiClass
getAllVersions
getCurrentVersion
getLatestVersion
simpleMethod
someMethod