You are here

public function ProxyItemInterface::__set in Purge 8.3

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

\Drupal\purge\Plugin\Purge\Queue\Exception\InvalidPropertyException 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 ProxyItemInterface::__set()
ProxyItem::__set in src/Plugin/Purge/Queue/ProxyItem.php
Set a writable property.

File

src/Plugin/Purge/Queue/ProxyItemInterface.php, line 91

Class

ProxyItemInterface
Describes a proxy item.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function __set($name, $value);