PHP Class Flarum\Core\Command\ConfirmEmailHandler

Inheritance: use trait Flarum\Core\Support\DispatchEventsTrait
Show file Open project: flarum/core

Protected Properties

Property Type Description
$users Flarum\Core\Repository\UserRepository

Public Methods

Method Description
__construct ( Illuminate\Contracts\Events\Dispatcher $events, Flarum\Core\Repository\UserRepository $users )
handle ( ConfirmEmail $command ) : User

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Events\Dispatcher $events, Flarum\Core\Repository\UserRepository $users )
$events Illuminate\Contracts\Events\Dispatcher
$users Flarum\Core\Repository\UserRepository

handle() public method

public handle ( ConfirmEmail $command ) : User
$command ConfirmEmail
return Flarum\Core\User

Property Details

$users protected property

protected UserRepository,Flarum\Core\Repository $users
return Flarum\Core\Repository\UserRepository