RockLobsterInc\Swv\Rules
FileRule::__construct
Constructor.
Метод класса: FileRule{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$FileRule = new FileRule(); $FileRule->__construct( $properties );
- $properties(массив)
- Rule properties.
По умолчанию:[]
Код FileRule::__construct() FileRule:: construct CF7 6.2.4.1
public function __construct(array $properties = [])
{
$this->field = $properties["field"] ?? "";
$this->error = $properties["error"] ?? "";
$this->accept = $properties["accept"] ?? [];
}