public function tokens($text, $options = [])
    {
        self::getClient()->indices()->analyze(array_merge(['index' => $this->getName(), 'text' => $text], $options));
    }
public function tokens($text, $options = [])
    {
        self::getClient()->indices()->analyze(array_merge(['index' => $this->getName(), 'text' => $text], $options));
    }
public function tokens ( $ text , $ options = [ ] ) { self :: getClient ( ) -> indices ( ) -> analyze ( array_merge ( [ 'index' => $ this -> getName ( ) , 'text' => $ text ] , $ options ) ) ; }
Inspect tokens returned from the analyzer

@param string $text
@param array $options
Inspect tokens returned from the analyzer