public function sendPasswordResetEmail(UserInterface $user, $subject = 'Password reset request')
    {
        $hashedEntity = $this->createHash($user);
        $this->emailHelper->createAndSendMessageFromTemplate(
            'OrkestraApplicationBundle:Email:setPassword.html.twig',
            array(
                'user' => $user,
                'hash' => $hashedEntity->getHash()
            ),
            $subject,
            $user->getEmail()
        );

        return $hashedEntity;
    }