<?php
namespace ProfiCloS\VestaCP\Command\Add;

class User extends ProcessCommand
{

	/** @var string */
	private $user;

	/** @var string */
	private $password;

	/** @var string */
	private $email;

	public function __construct(string $user, string $password, string $email)
	{
		$this->user = $user;
		$this->password = $password;
		$this->email = $email;
	}

	public function getName(): string
	{
		return 'v-add-user';
	}

	public function getRequestParams(): array
	{
		return [
			self::ARG_1 => $this->user,
			self::ARG_2 => $this->password,
			self::ARG_3 => $this->email
		];
	}
}
