/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Adapter/Customer
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Adapter/Customer/CustomerDataSource.php (1461B)
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
namespace PrestaShop\PrestaShop\Adapter\Customer;
use Customer;
use PrestaShop\PrestaShop\Core\Customer\CustomerDataSourceInterface;
final class CustomerDataSource implements CustomerDataSourceInterface
{
/**
* {@inheritdoc}
*/
public function hasCustomerWithEmail(string $email): bool
{
return Customer::customerExists($email, false, false);
}
}