PHP Class Respect\Validation\Rules\LanguageCode

Inheritance: extends Respect\Validation\Rules\AbstractRule
Show file Open project: respect/validation

Public Properties

Property Type Description
$index
$set

Protected Properties

Property Type Description
$languageCodeList array

Public Methods

Method Description
__construct ( $set = self::ALPHA2 )
getAvailableSets ( )
validate ( $input )

Private Methods

Method Description
getLanguageCodeList ( $index )

Method Details

__construct() public method

public __construct ( $set = self::ALPHA2 )

getAvailableSets() public static method

public static getAvailableSets ( )

validate() public method

public validate ( $input )

Property Details

$index public property

public $index

$languageCodeList protected property

protected array $languageCodeList
return array

$set public property

public $set