Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CarrierFactoryInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Shipping\Model;
7 
9 
14 {
22  public function get($carrierCode);
23 
32  public function create($carrierCode, $storeId = null);
33 
41  public function getIfActive($carrierCode);
42 
51  public function createIfActive($carrierCode, $storeId = null);
52 }
createIfActive($carrierCode, $storeId=null)