PHP Class Camspiers\StatisticalClassifier\DataSource\CSV

Author: Cam Spiers ([email protected])
Inheritance: extends DataArray
Afficher le fichier Open project: camspiers/statistical-classifier

Protected Properties

Свойство Type Description
$options array Stores the configuration options

Méthodes publiques

Méthode Description
__construct ( array $options = [] ) Creates the object from an array of options
read ( )
write ( )

Méthodes protégées

Méthode Description
checkColumns ( $columns ) : array
readColumns ( $handle ) : array
readLine ( $handle ) : array
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) Sets the configuration for the options resolver

Method Details

__construct() public méthode

Creates the object from an array of options
public __construct ( array $options = [] )
$options array

checkColumns() protected méthode

protected checkColumns ( $columns ) : array
$columns
Résultat array

read() public méthode

public read ( )

readColumns() protected méthode

protected readColumns ( $handle ) : array
$handle
Résultat array

readLine() protected méthode

protected readLine ( $handle ) : array
$handle
Résultat array

setDefaultOptions() protected méthode

Sets the configuration for the options resolver
protected setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolverInterface

write() public méthode

public write ( )

Property Details

$options protected_oe property

Stores the configuration options
protected array $options
Résultat array