17 lines
595 B
PHP
17 lines
595 B
PHP
<?php
|
|
|
|
namespace Lts\Customer\Api;
|
|
|
|
interface CustomerRepositoryInterface
|
|
{
|
|
/**
|
|
* update a customer.
|
|
*
|
|
* @param \Magento\Customer\Api\Data\CustomerInterface $customer
|
|
* @return \Magento\Customer\Api\Data\CustomerInterface
|
|
* @throws \Magento\Framework\Exception\InputException If bad input is provided
|
|
* @throws \Magento\Framework\Exception\State\InputMismatchException If the provided email is already used
|
|
* @throws \Magento\Framework\Exception\LocalizedException
|
|
*/
|
|
public function save(\Magento\Customer\Api\Data\CustomerInterface $customer);
|
|
} |