PHP Class Jyxo\Input\Filter\ToInt

Author: Jakub Tománek
Inheritance: extends AbstractFilter
Datei anzeigen Open project: jyxo/php

Public Methods

Method Description
__construct ( integer $base = 10 ) Constructor.

Protected Methods

Method Description
filterValue ( mixed $in ) : mixed Filters a value.

Method Details

__construct() public method

Constructor.
public __construct ( integer $base = 10 )
$base integer

filterValue() protected method

Filters a value.
protected filterValue ( mixed $in ) : mixed
$in mixed Input value
return mixed