1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
parallel/lib/Sync/ExitSuccess.php
2017-07-28 17:34:24 -05:00

20 lines
315 B
PHP

<?php
namespace Amp\Parallel\Sync;
class ExitSuccess implements ExitResult {
/** @var mixed */
private $result;
public function __construct($result) {
$this->result = $result;
}
/**
* {@inheritdoc}
*/
public function getResult() {
return $this->result;
}
}