PHP Class Webmozart\Json\Versioning\SchemaUriVersioner

Since: 1.3
Author: Bernhard Schussek ([email protected])
Inheritance: implements Webmozart\Json\Versioning\JsonVersioner
ファイルを表示 Open project: webmozart/json Class Usage Examples

Public Methods

Method Description
__construct ( $pattern = self::DEFAULT_PATTERN )
parseVersion ( stdClass $jsonData )
updateVersion ( stdClass $jsonData, $version )

Method Details

__construct() public method

public __construct ( $pattern = self::DEFAULT_PATTERN )

parseVersion() public method

public parseVersion ( stdClass $jsonData )
$jsonData stdClass

updateVersion() public method

public updateVersion ( stdClass $jsonData, $version )
$jsonData stdClass