PHP Class TextAnalysis\Console\Commands\StopWordsCommand

Author: dcardin
Inheritance: extends Symfony\Component\Console\Command\Command
显示文件 Open project: yooper/php-text-analysis

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
toArray ( array $stopWords ) : array So you can easily serialize the data to json

Method Details

configure() protected method

protected configure ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

toArray() protected method

So you can easily serialize the data to json
protected toArray ( array $stopWords ) : array
$stopWords array
return array