Resolver/AbstractFulfillmentMethodResolver.php
protected function getFulfillmentMethodsByType($type)
    {
        if (!$this->fulfillmentMethodsByType) {
            $this->loadFulfillmentMethods();
        }

        return $this->fulfillmentMethodsByType->get($type);
    }
protected function getFulfillmentMethodsByType($type)
    {
        if (!$this->fulfillmentMethodsByType) {
            $this->loadFulfillmentMethods();
        }

        return $this->fulfillmentMethodsByType->get($type);
    }
protected function getFulfillmentMethodsByType ( $ type ) { if ( ! $ this -> fulfillmentMethodsByType ) { $ this -> loadFulfillmentMethods ( ) ; } return $ this -> fulfillmentMethodsByType -> get ( $ type ) ; }
Retrieve a collection of fulfillment methods by type
eg. give back all fulfillment methods for type 'shipment'

@param $type
@return ArrayCollection
Retrieve a collection of fulfillment methods by type eg . give back all fulfillment methods for type shipment