public function getActiveCarriers($storeId = null)
    {
        return $this->carrierConfig->getActiveCarriers($this->storeManager->getStore($storeId));
    }
public function getActiveCarriers($storeId = null)
    {
        return $this->carrierConfig->getActiveCarriers($this->storeManager->getStore($storeId));
    }
public function getActiveCarriers ( $ storeId = null ) { return $ this -> carrierConfig -> getActiveCarriers ( $ this -> storeManager -> getStore ( $ storeId ) ) ; }
Retrieves all carriers that are currently
set to active in magento

@param null|string|int $storeId - store ID of which to get the carriers

@return mixed
Retrieves all carriers that are currently set to active in magento