/**
* Constructor.
*
* Mandatory arguments:
* subject JTableInterface The table we are operating on
* rows stdClass[]|null The primary keys and ordering values for the selection.
* where string WHERE clause which was used for limiting the selection of rows to compact the ordering values.
*
* @param string $name The event name.
* @param array $arguments The event arguments.
*
* @throws BadMethodCallException
*/
public function __construct($name, array $arguments = array())
{
if (!\array_key_exists('where', $arguments)) {
throw new BadMethodCallException("Argument 'ignore' is required for event {$name}");
}
parent::__construct($name, $arguments);
}