__set() __set(string $property, mixed $value) : $this Magic set. Parameters string $property mixed $value Returns $this
transformForJsonRequestWithoutType() transformForJsonRequestWithoutType(array $appends = array()) : array Parameters array $appends Returns array
transformForJsonRequest() transformForJsonRequest(array $appends = array(), boolean $withType = true) : array Parameters array $appends boolean $withType Returns array
transformToXml() transformToXml(array $appends = array(), boolean $returnAsArray = false) : string Parameters array $appends boolean $returnAsArray Returns string
setAttributes() setAttributes(array $attributes = array()) : $this Set Attributes. Parameters array $attributes Returns $this
setAttribute() setAttribute(string $attribute, string $value) : $this Set attribute. Parameters string $attribute string $value Returns $this
getAttribute() getAttribute(string $attribute, mixed $default = null) : mixed Get attribute. Parameters string $attribute mixed $default Returns mixed
with() with(string $attribute, mixed $value) : $this Set attribute. Parameters string $attribute mixed $value Returns $this
set() set(string $attribute, mixed $value) : $this Override parent set() method. Parameters string $attribute mixed $value Returns $this
get() get(string $attribute, mixed $default = null) : mixed Override parent get() method. Parameters string $attribute mixed $default Returns mixed
__call() __call(string $method, array $args) : $this Magic call. Parameters string $method array $args Returns $this
__isset() __isset(string $key) : boolean Whether or not an data exists by key. Parameters string $key Returns boolean
propertiesToArray() propertiesToArray(array $data, array $aliases = array()) : array|mixed Parameters array $data array $aliases Throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException Returns array|mixed
checkRequiredAttributes() checkRequiredAttributes() Check required attributes. Throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException