PHP Class Flarum\Core\Command\EditUserHandler

Inheritance: use trait Flarum\Core\Support\DispatchEventsTrait, use trait Flarum\Core\Access\AssertPermissionTrait
Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$users Flarum\Core\Repository\UserRepository
$validator Flarum\Core\Validator\UserValidator

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Events\Dispatcher $events, Flarum\Core\Repository\UserRepository $users, UserValidator $validator )
handle ( EditUser $command ) : User

Method Details

__construct() public méthode

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

handle() public méthode

public handle ( EditUser $command ) : User
$command EditUser
Résultat Flarum\Core\User

Property Details

$users protected_oe property

protected UserRepository,Flarum\Core\Repository $users
Résultat Flarum\Core\Repository\UserRepository

$validator protected_oe property

protected UserValidator,Flarum\Core\Validator $validator
Résultat Flarum\Core\Validator\UserValidator