src/TokenizerManager.php
public function createAnalysisDriver()
    {
        $analysis = new Phpanalysis;

        foreach ($this->getConfig('analysis') as $key => $value) {
            $key = camel_case($key);

            if (property_exists($analysis, $key)) {
                $analysis->$key = $value;
            }
        }

        return new PhpAnalysisTokenizer($analysis);
    }
public function createAnalysisDriver()
    {
        $analysis = new Phpanalysis;

        foreach ($this->getConfig('analysis') as $key => $value) {
            $key = camel_case($key);

            if (property_exists($analysis, $key)) {
                $analysis->$key = $value;
            }
        }

        return new PhpAnalysisTokenizer($analysis);
    }
public function createAnalysisDriver ( ) { $ analysis = new Phpanalysis ; foreach ( $ this -> getConfig ( 'analysis' ) as $ key => $ value ) { $ key = camel_case ( $ key ) ; if ( property_exists ( $ analysis , $ key ) ) { $ analysis -> $ key = $ value ; } } return new PhpAnalysisTokenizer ( $ analysis ) ; }
Create a PhpAnalysis tokenizer instance.

@return \Vanry\Scout\Tokenizers\PhpAnalysisTokenizer
Create a PhpAnalysis tokenizer instance .