Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BlockRepositoryInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Cms\Api;
7 
14 {
22  public function save(Data\BlockInterface $block);
23 
31  public function getById($blockId);
32 
40  public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);
41 
49  public function delete(Data\BlockInterface $block);
50 
59  public function deleteById($blockId);
60 }
save(Data\BlockInterface $block)
$block
Definition: block.php:8
$searchCriteria
getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)