1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Theme\Api;
- use Magento\Theme\Api\Data\DesignConfigInterface;
- /**
- * Design config CRUD interface.
- * @api
- * @since 100.1.0
- */
- interface DesignConfigRepositoryInterface
- {
- /**
- * Get design settings by scope
- *
- * @param string $scope
- * @param mixed $scopeId
- * @return DesignConfigInterface
- * @since 100.1.0
- */
- public function getByScope($scope, $scopeId);
- /**
- * Save design settings
- *
- * @param DesignConfigInterface $designConfig
- * @return DesignConfigInterface
- * @since 100.1.0
- */
- public function save(DesignConfigInterface $designConfig);
- /**
- * Delete design settings
- *
- * @param DesignConfigInterface $designConfig
- * @return DesignConfigInterface
- * @since 100.1.0
- */
- public function delete(DesignConfigInterface $designConfig);
- }
|