PHP Sigfox Client

Required implements Rule

Interfaces, Classes and Traits

Rule

Table of Contents

check()  : bool
Checking the value with the given rule
format()  : string
Get a string representation of the rule and parameters

Methods

check()

Checking the value with the given rule

public check(mixed $value) : bool
Parameters
$value : mixed

The value to validate

Return values
bool

Validated or not

format()

Get a string representation of the rule and parameters

public format() : string
Return values
string

Rule name and the parameter list shoud be spearated by a colon and parameter list should be separated by commas. Example:- in:outdoor,indoor

Search results