PHP Class JiraRestApi\JsonMapperHelper

ファイルを表示 Open project: lesstif/php-jira-rest-client

Public Methods

Method Description
setUndefinedProperty ( object $object, string $propName, mixed $jsonValue ) : void Handle undefined properties during JsonMapper::map()

Method Details

setUndefinedProperty() static public method

Handle undefined properties during JsonMapper::map()
static public setUndefinedProperty ( object $object, string $propName, mixed $jsonValue ) : void
$object object Object that is being filled
$propName string Name of the unknown JSON property
$jsonValue mixed JSON value of the property
return void