for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EventEspresso\core\domain\services\graphql\data\loaders;
use EEM_Price;
use EventEspresso\core\exceptions\InvalidDataTypeException;
use EventEspresso\core\exceptions\InvalidInterfaceException;
use InvalidArgumentException;
/**
* Class PriceLoader
*/
class PriceLoader extends AbstractLoader
{
* @return EE_Base_Class
* @throws EE_Error
* @throws InvalidArgumentException
* @throws InvalidDataTypeException
* @throws InvalidInterfaceException
protected function getQuery()
return EEM_Price::instance();
}
* @param array $keys
*
* @return array
protected function getWhereParams(array $keys)
return [
'PRC_ID' => ['IN', $keys],
];