PHP Class Camspiers\StatisticalClassifier\DataSource\Directory

Author: Cam Spiers ([email protected])
Inheritance: extends DataArray
Show file Open project: camspiers/statistical-classifier Class Usage Examples

Protected Properties

Property Type Description
$options array Stores the configuration options

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

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

read() public method

public read ( )

setDefaultOptions() protected method

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

write() public method

public write ( )

Property Details

$options protected property

Stores the configuration options
protected array $options
return array