ReflectionProperty::setValue

ReflectionProperty::setValue

(PHP 5, PHP 7)

ReflectionProperty::setValueSet property value

Description

public void ReflectionProperty::setValue ( object $object , mixed $value )
public void ReflectionProperty::setValue ( mixed $value )

Sets (changes) the property's value.

Parameters

object

If the property is non-static an object must be provided to change th