DataSift\Storyplayer\BrowserLib\BaseElementAction::determineSearchType PHP Method

determineSearchType() protected method

protected determineSearchType ( array $words ) : string | null
$words array
return string | null
    protected function determineSearchType($words)
    {
        foreach ($words as $word) {
            if (isset($this->searchTypes[$word])) {
                return $this->searchTypes[$word];
            }
        }
        // if we do not recognise the word, tell the caller
        return null;
    }