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

determineCountType() protected method

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