1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-12 09:09:35 +01:00
parallel/lib/Sync/Internal/ExitSuccess.php
2016-08-26 10:10:03 -05:00

19 lines
350 B
PHP

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