/**
* {@inheritdoc}
*/
public function __construct(ClientInterface $client)
{
if (!$client->getProfile()->supportsCommands(array('multi', 'exec', 'discard'))) {
throw new ClientException("The current profile does not support 'MULTI', 'EXEC' and 'DISCARD'.");
}
parent::__construct($client);
}