$this->properties
[$property_name] =
$this->
getTypedDataManager()->
getPropertyInstance($this,
$property_name,
$value);
} return $this->properties
[$property_name];
} /**
* {@inheritdoc}
*/
public function set($property_name,
$value,
$notify = TRUE
) { // Separate the writing in a protected method, such that onChange
// implementations can make use of it.
$this->
writePropertyValue($property_name,
$value);
$this->
onChange($property_name,
$notify);
return $this;
} /**
* Writes the value of a property without handling changes.
*
* Implementations of onChange() should use this method instead of set() in
* order to avoid onChange() being triggered again.
*
* @param string $property_name
* The name of the property to be written.
* @param $value
* The value to set.
*/