RockLobsterInc\Swv\Rules

MaxLengthRule::__construct │ public │ CF7 1.0

Constructor.

Метод класса: MaxLengthRule{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$MaxLengthRule = new MaxLengthRule();
$MaxLengthRule->__construct( $properties );
$properties(массив)
Rule properties.
По умолчанию: []

Код MaxLengthRule::__construct() CF7 6.2.4.1

public function __construct(array $properties = [])
{
    $this->field = $properties["field"] ?? "";
    $this->error = $properties["error"] ?? "";
    $this->threshold = $properties["threshold"] ?? "";
}