Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Invoice.php
Go to the documentation of this file.
1 <?php
11 
17 {
23  public function getInvoice()
24  {
25  return $this->_coreRegistry->registry('current_invoice');
26  }
27 
33  protected function _getCarriersInstances()
34  {
35  return $this->_shippingConfig->getAllCarriers($this->getInvoice()->getStoreId());
36  }
37 }