You are here

public function AcquiaPurgeQueueItemInterface::__set in Acquia Purge 7

Set a writable property.

Parameters

string $name: The name of the property, can be 'item_id' or 'created'.

mixed $value: The value of the property you want to set.

Throws

\RuntimeException Thrown when the requested property isn't 'item_id' or 'created'.

See also

http://php.net/manual/en/language.oop5.overloading.php#object.set

1 method overrides AcquiaPurgeQueueItemInterface::__set()
AcquiaPurgeQueueItem::__set in lib/queue/AcquiaPurgeQueueItem.php
Set a writable property.

File

lib/queue/AcquiaPurgeQueueItemInterface.php, line 59

Class

AcquiaPurgeQueueItemInterface
Describes a queue item object.

Code

public function __set($name, $value);