PHP Class WellCommerce\Bundle\ClientBundle\Manager\ClientManager

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Manager\AbstractManager
ファイルを表示 Open project: wellcommerce/wellcommerce

Public Methods

Method Description
resetPassword ( $username )

Protected Methods

Method Description
findClient ( string $username ) : null | WellCommerce\Bundle\ClientBundle\Entity\ClientInterface Returns the client's account or null if it was not found
sendResetInstructions ( WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client ) : integer Sends the reset instructions to client
setClientResetPasswordHash ( WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client ) : integer

Method Details

findClient() protected method

Returns the client's account or null if it was not found
protected findClient ( string $username ) : null | WellCommerce\Bundle\ClientBundle\Entity\ClientInterface
$username string
return null | WellCommerce\Bundle\ClientBundle\Entity\ClientInterface

resetPassword() public method

public resetPassword ( $username )

sendResetInstructions() protected method

Sends the reset instructions to client
protected sendResetInstructions ( WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client ) : integer
$client WellCommerce\Bundle\ClientBundle\Entity\ClientInterface
return integer

setClientResetPasswordHash() protected method

protected setClientResetPasswordHash ( WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client ) : integer
$client WellCommerce\Bundle\ClientBundle\Entity\ClientInterface
return integer