/**
* Sends the reset instructions to client
*
* @param ClientInterface $client
*
* @return int
*/
protected function sendResetInstructions(ClientInterface $client)
{
$email = $client->getContactDetails()->getEmail();
$title = $this->getTranslatorHelper()->trans('client.email.title.reset_password');
$body = $this->getTemplatingelper()->render('WellCommerceClientBundle:Email:reset_password.html.twig', ['client' => $client]);
$shop = $client->getShop();
return $this->getMailerHelper()->sendEmail($email, $title, $body, $shop->getMailerConfiguration());
}