/** * Pass in the pre-built indexes for doing lookups * @param IDataReader $reader */ public function __construct(IDataReader $reader) { $this->index = $reader->read(); }
public function __construct(IDataReader $reader) { $this->dictionary = $reader->read(); }