| 1 | <?php |
||
| 14 | class SaveOneResult extends InsertOneResult |
||
| 15 | { |
||
| 16 | /** @var bool */ |
||
| 17 | private $upserted; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $insertId |
||
| 21 | * @param bool $acknowledged |
||
| 22 | * @param bool $upserted |
||
| 23 | */ |
||
| 24 | 24 | public function __construct($insertId, $acknowledged, $upserted) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | public function isUpserted() |
||
| 38 | } |
||
| 39 |