PHP Class GetOptionKit\ValueType\BaseType

Mostra file Open project: c9s/getoptionkit

Public Properties

Property Type Description
$option mixed Type option.

Public Methods

Method Description
__construct ( $option = null )
parse ( mixed $value ) Parse a string value into it's type value.
test ( mixed $value ) Test a value to see if it fit the type.

Method Details

__construct() public method

public __construct ( $option = null )

parse() abstract public method

Parse a string value into it's type value.
abstract public parse ( mixed $value )
$value mixed

test() abstract public method

Test a value to see if it fit the type.
abstract public test ( mixed $value )
$value mixed

Property Details

$option public_oe property

Type option.
public mixed $option
return mixed