mirror of
https://github.com/amphp/parallel.git
synced 2025-07-24 06:51:41 +02:00
19 lines
323 B
PHP
19 lines
323 B
PHP
<?php
|
|
|
|
namespace Amp\Parallel\Sync\Internal;
|
|
|
|
class ExitSuccess implements ExitResult {
|
|
/** @var mixed */
|
|
private $result;
|
|
|
|
public function __construct($result) {
|
|
$this->result = $result;
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getResult() {
|
|
return $this->result;
|
|
}
|
|
} |