class MemberRepository extends EntityRepository implements UserProviderInterface

MemberRepository

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

Methods

setEncoderFactorty(EncoderFactoryInterface $encoder_factory)

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.

void
up(Member $Member)

No description

bool
down(Member $Member)

No description

bool
save(Member $Member)

No description

bool
delete(Member $Member)

No description

string
createSalt($byte)

saltを生成する

mixed
encryptPassword(Member $Member)

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

Details

at line 51
setEncoderFactorty(EncoderFactoryInterface $encoder_factory)

Parameters

EncoderFactoryInterface $encoder_factory

at line 70
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 98
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 114
bool supportsClass(string $class)

Whether this provider supports the given user class.

Parameters

string $class

Return Value

bool

at line 124
void up(Member $Member)

Parameters

Member $Member

Return Value

void

at line 158
bool down(Member $Member)

Parameters

Member $Member

Return Value

bool

at line 193
bool save(Member $Member)

Parameters

Member $Member

Return Value

bool

at line 229
bool delete(Member $Member)

Parameters

Member $Member

Return Value

bool

at line 265
string createSalt($byte)

saltを生成する

Parameters

$byte

Return Value

string

at line 279
mixed encryptPassword(Member $Member)

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

Parameters

Member $Member

Return Value

mixed