TextAnalysis\Indexes\InvertedIndex::__construct PHP Метод

__construct() публичный Метод

Pass in the pre-built indexes for doing lookups
public __construct ( TextAnalysis\Interfaces\IDataReader $reader )
$reader TextAnalysis\Interfaces\IDataReader
    public function __construct(IDataReader $reader)
    {
        $this->index = $reader->read();
    }