How is \Magento\Sales\Model\Order\Invoice.::capture() implemented and used?

Implementation

Usages

1. \Magento\Sales\Model\Order\Invoice.::register()

2. \Magento\Sales\Model\Order\Payment::_invoice()

3. \Magento\Sales\Model\Order\Payment\Operations\AbstractOperation::invoice()

4. \Magento\Sales\Model\Service\InvoiceService::setCapture()

https://github.com/magento/magento2/blob/ffea3cd/app/code/Magento/Sales/Model/Service/InvoiceService.php#L90-L96