1
0
mirror of https://github.com/danog/ipc.git synced 2024-12-02 17:37:48 +01:00
ipc/lib/Sync/Internal/ParcelStorage.php
2020-02-14 20:31:11 +01:00

34 lines
482 B
PHP

<?php
namespace Amp\Ipc\Sync\Internal;
final class ParcelStorage extends \Threaded
{
/** @var mixed */
private $value;
/**
* @param mixed $value
*/
public function __construct($value)
{
$this->value = $value;
}
/**
* @return mixed
*/
public function get()
{
return $this->value;
}
/**
* @param mixed $value
*/
public function set($value)
{
$this->value = $value;
}
}