Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ShipmentProvider Class Reference
Inheritance diagram for ShipmentProvider:
ShipmentProviderInterface

Public Member Functions

 __construct (RequestInterface $request)
 
 getShipmentData ()
 

Detailed Description

Definition at line 15 of file ShipmentProvider.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( RequestInterface  $request)
Parameters
RequestInterface$request

Definition at line 25 of file ShipmentProvider.php.

26  {
27  $this->request = $request;
28  }

Member Function Documentation

◆ getShipmentData()

getShipmentData ( )

Retrieve shipment items.

Returns
array

Implements ShipmentProviderInterface.

Definition at line 33 of file ShipmentProvider.php.

33  : array
34  {
35  return $this->request->getParam('shipment', []);
36  }

The documentation for this class was generated from the following file: