/**
* Constructor.
*
* Mandatory arguments:
* subject JTableInterface The table we are operating on
* row stdClass|null The primary keys and ordering value for the selection.
* delta int The direction and magnitude to move the row in the ordering sequence.
* 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('row', $arguments)) {
throw new BadMethodCallException("Argument 'row' is required for event {$name}");
}
if (!\array_key_exists('delta', $arguments)) {
throw new BadMethodCallException("Argument 'delta' is required for event {$name}");
}
if (!\array_key_exists('where', $arguments)) {
throw new BadMethodCallException("Argument 'ignore' is required for event {$name}");
}
parent::__construct($name, $arguments);
}