1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-04 02:27:55 +01:00
parallel/lib/Sync/ExitSuccess.php
Aaron Piotrowski b654463339
Fix code style
2018-10-07 09:50:45 -05:00

23 lines
323 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;
}
}