Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Cartalyst
Sentinel
Activations
ActivationRepositoryInterface
exists
Cartalyst\Sentinel\Activations\ActivationRepositoryInterface::exists PHP Method
ActivationRepositoryInterface Interface Documentation
显示文件
Open project: cartalyst/sentinel
exists()
public
method
Checks if a valid activation for the given user exists.
public
exists
(
Cartalyst\Sentinel\Users\UserInterface
$user
,
string
$code
= null ) :
Cartalyst\Sentinel\Activations\ActivationInterface |
boolean
$user
Cartalyst\Sentinel\Users\UserInterface
$code
string
return
Cartalyst\Sentinel\Activations\ActivationInterface |
boolean
public function exists(UserInterface $user, $code = null);
ActivationRepositoryInterface
complete
completed
create
exists
remove
removeExpired