RockLobsterInc\Swv\Rules

AnyRule::__construct │ public │ CF7 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

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

Код AnyRule::__construct() CF7 6.2.4.1

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