1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-04 10:38:30 +01:00
parallel/lib/Sync/Internal/ExitSuccess.php
Aaron Piotrowski da84a772cf Port to Amp
2016-08-18 11:04:48 -05:00

21 lines
337 B
PHP

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