mirror of
https://github.com/danog/parallel.git
synced 2024-11-27 04:44:56 +01:00
19 lines
323 B
PHP
19 lines
323 B
PHP
<?php
|
|
|
|
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;
|
|
}
|
|
} |