Helper/PasswordHelper.php
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;
    }
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;
    }
Sends password reset message to the user

@param User $user
@param      $subject

@return HashedEntity