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_Ticket;
use EventEspresso\core\exceptions\InvalidDataTypeException;
use EventEspresso\core\exceptions\InvalidInterfaceException;
use InvalidArgumentException;
/**
* Class TickeLoader
*/
class TicketLoader extends AbstractLoader
{
* @return EE_Base_Class
* @throws EE_Error
* @throws InvalidArgumentException
* @throws InvalidDataTypeException
* @throws InvalidInterfaceException
protected function getQuery()
return EEM_Ticket::instance();
}
* @param array $keys
*
* @return array
protected function getWhereParams(array $keys)
return [
'TKT_ID' => ['IN', $keys],
'TKT_deleted' => ['IN', [true, false]]
];