RockLobsterInc\Swv\Rules

MinLengthRule::__construct │ public │ CF7 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

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

Код MinLengthRule::__construct() CF7 6.2.4.1

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