PHP Class LanguageDetector\Config

Show file Open project: nystudio107/seomatic Class Usage Examples

Protected Properties

Property Type Description
$distance
$maxLenNGram
$maxNGram
$mb
$minLenNGram
$sort

Public Methods

Method Description
__call ( $name, $args )
__set_state ( array $state )
export ( )
getDistanceObject ( )
getParser ( ) : NGramParser
getSortObject ( ) : LanguageDetector\Sort\SortInterface
setDistanceObject ( languagedetector\DistanceInterface $obj )
useMb ( $use )

Method Details

__call() public method

public __call ( $name, $args )

__set_state() public static method

public static __set_state ( array $state )
$state array

export() public method

public export ( )

getDistanceObject() public method

public getDistanceObject ( )

getParser() public method

public getParser ( ) : NGramParser
return NGramParser

getSortObject() public method

public getSortObject ( ) : LanguageDetector\Sort\SortInterface
return LanguageDetector\Sort\SortInterface

setDistanceObject() public method

public setDistanceObject ( languagedetector\DistanceInterface $obj )
$obj languagedetector\DistanceInterface

useMb() public method

public useMb ( $use )

Property Details

$distance protected property

protected $distance

$maxLenNGram protected property

protected $maxLenNGram

$maxNGram protected property

protected $maxNGram

$mb protected property

protected $mb

$minLenNGram protected property

protected $minLenNGram

$sort protected property

protected $sort