Add doxygen comments for the nel message class

This commit is contained in:
Stanislas Dolcini 2018-10-06 14:34:51 +02:00
parent 46530408f2
commit 1a4cd29203

View file

@ -1,11 +1,36 @@
<?php
/**
* Defines a standard get command sent by the user
* to login to the server.
* @todo Add an email field.
*/
class NelCommand
{
/**
* The command to be executed.
* Currently, 'ask', 'login', and 'login-https' are supported.
*/
public $cmd;
/**
* The user's login.
*/
public $login;
/**
* The password.
*/
public $password;
/**
* The user's domain.
* @todo make sure of its usage.
*/
public $clientApplication;
/**
* Whether to clear the password or not.
*/
public $cp;
/**
* The user's language.
*/
public $submittedLang;
public function __construct($getParams)