for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the slince/shopify-api-php
*
* (c) Slince <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Slince\Shopify\Manager\CustomerSavedSearch;
use Slince\Shopify\Common\Manager\GeneralCurdable;
class CustomerSavedSearchManager extends GeneralCurdable implements CustomerSavedSearchManagerInterface
{
/**
* {@inheritdoc}
public static function getServiceName()
return 'customer_saved_searches';
}
public function getResourceName()
return 'customer_saved_search';
public function getModelClass()
return CustomerSavedSearch::class;
public function getCustomers($id)
$data = $this->client->get('customer_saved_searches/'.$id.'/customers');
return $this->createMany($data['customers']);