PHP Class Bluz\Validator\Rule\Positive

Inheritance: extends AbstractRule
Show file Open project: bluzphp/framework Class Usage Examples

Protected Properties

Property Type Description
$template error template

Public Methods

Method Description
validate ( string $input ) : boolean Check for positive number

Method Details

validate() public method

Check for positive number
public validate ( string $input ) : boolean
$input string
return boolean

Property Details

$template protected property

error template
protected $template