$data $data : array An array to hold the sources data Should be in the form: array( array( 'category' => 'somecategory', 'document' => 'Some document' ) ) Type array
__construct() __construct(array $data) Creates the data array Parameters array $data The initial data
unserialize() unserialize(string $data) : null Restore the serialized class Parameters string $data The serialized data Returns null
setConfig() setConfig(\Camspiers\StatisticalClassifier\Config\DataSourceConfiguration $config) Parameters \Camspiers\StatisticalClassifier\Config\DataSourceConfiguration $config
setDefaultOptions() setDefaultOptions(\Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver) Sets the configuration for the options resolver Parameters \Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver
readColumns() readColumns(mixed $handle) : array Parameters mixed $handle Throws \RuntimeException Returns array
checkColumns() checkColumns(mixed $columns) : array Parameters mixed $columns Throws \RuntimeException Returns array
setProcessor() setProcessor(\Symfony\Component\Config\Definition\Processor $processor) Sets the processor for the config Parameters \Symfony\Component\Config\Definition\Processor $processor