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\InventoryItem;
use Slince\Shopify\Common\Manager\GeneralCurdable;
class InventoryItemManager extends GeneralCurdable implements InventoryItemManagerInterface
{
/**
* {@inheritdoc}
public static function getServiceName()
return 'inventory_items';
}
public function getResourceName()
return 'inventory_item';
public function getModelClass()
return InventoryItem::class;
public function remove($id)
throw new \Exception('The action is not supported');
public function create(array $data)
public function count(array $query = [])