class CustomerRepository extends EntityRepository implements UserProviderInterface

CustomerRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.

Properties

$app

Methods

setApplication($app)

No description

newCustomer()

No description

UserInterface
loadUserByUsername(string $username)

Loads the user for the given username.

UserInterface
refreshUser(UserInterface $user)

Refreshes the user for the account interface.

bool
supportsClass(string $class)

Whether this provider supports the given user class.

getQueryBuilderBySearchData($searchData)

No description

string
getUniqueSecretKey($app)

ユニークなシークレットキーを返す

string
getUniqueResetKey($app)

ユニークなパスワードリセットキーを返す

string
createSalt($byte)

saltを生成する

mixed
encryptPassword($app, Customer $Customer)

入力されたパスワードをSaltと暗号化する

getNonActiveCustomerBySecretKey($secret_key)

No description

getActiveCustomerByEmail($email)

No description

getActiveCustomerByResetKey($reset_key)

No description

getResetPassword()

No description

Details

at line 46
setApplication($app)

Parameters

$app

at line 51
newCustomer()

at line 79
UserInterface loadUserByUsername(string $username)

Loads the user for the given username.

This method must throw UsernameNotFoundException if the user is not found.

Parameters

string $username The username

Return Value

UserInterface

Exceptions

UsernameNotFoundException if the user is not found

See also

UsernameNotFoundException

at line 119
UserInterface refreshUser(UserInterface $user)

Refreshes the user for the account interface.

It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map.

Parameters

UserInterface $user

Return Value

UserInterface

Exceptions

UnsupportedUserException if the account is not supported

at line 135
bool supportsClass(string $class)

Whether this provider supports the given user class.

Parameters

string $class

Return Value

bool

at line 140
getQueryBuilderBySearchData($searchData)

Parameters

$searchData

at line 323
string getUniqueSecretKey($app)

ユニークなシークレットキーを返す

Parameters

$app

Return Value

string

at line 341
string getUniqueResetKey($app)

ユニークなパスワードリセットキーを返す

Parameters

$app

Return Value

string

at line 360
string createSalt($byte)

saltを生成する

Parameters

$byte

Return Value

string

at line 374
mixed encryptPassword($app, Customer $Customer)

入力されたパスワードをSaltと暗号化する

Parameters

$app
Customer $Customer

Return Value

mixed

at line 381
getNonActiveCustomerBySecretKey($secret_key)

Parameters

$secret_key

at line 394
getActiveCustomerByEmail($email)

Parameters

$email

at line 408
getActiveCustomerByResetKey($reset_key)

Parameters

$reset_key

at line 423
getResetPassword()