Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SampleRepositoryInterface.php
Go to the documentation of this file.
1 <?php
7 
9 
16 {
23  public function getList($sku);
24 
31  public function getSamplesByProduct(\Magento\Catalog\Api\Data\ProductInterface $product);
32 
41  public function save(
42  $sku,
43  SampleInterface $sample,
44  $isGlobalScopeContent = true
45  );
46 
53  public function delete($id);
54 }
getSamplesByProduct(\Magento\Catalog\Api\Data\ProductInterface $product)
$id
Definition: fieldset.phtml:14
save( $sku, SampleInterface $sample, $isGlobalScopeContent=true)