class CustomerRepository extends EntityRepository implements UserProviderInterface

CustomerRepository

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

Properties

protected $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

updateBuyData($app, Customer $Customer, $orderStatusId)

会員の初回購入時間、購入時間、購入回数、購入金額を更新する

Details

at line 48
setApplication($app)

Parameters

$app

at line 53
newCustomer()

at line 81
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 122
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 138
bool supportsClass(string $class)

Whether this provider supports the given user class.

Parameters

string $class

Return Value

bool

at line 143
getQueryBuilderBySearchData($searchData)

Parameters

$searchData

at line 320
string getUniqueSecretKey($app)

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

Parameters

$app

Return Value

string

at line 338
string getUniqueResetKey($app)

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

Parameters

$app

Return Value

string

at line 357
string createSalt($byte)

saltを生成する

Parameters

$byte

Return Value

string

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

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

Parameters

$app
Customer $Customer

Return Value

mixed

at line 378
getNonActiveCustomerBySecretKey($secret_key)

Parameters

$secret_key

at line 391
getActiveCustomerByEmail($email)

Parameters

$email

at line 405
getActiveCustomerByResetKey($reset_key)

Parameters

$reset_key

at line 419
getResetPassword()

at line 431
updateBuyData($app, Customer $Customer, $orderStatusId)

会員の初回購入時間、購入時間、購入回数、購入金額を更新する

Parameters

$app
Customer $Customer
$orderStatusId