Google\Cloud\Vision\Image::maxResult PHP Method

maxResult() private method

Identify and return a maxResults value for a given feature, if maxResults is specified.
private maxResult ( string $feature ) : mixed
$feature string
return mixed Int if set, null if not set.
    private function maxResult($feature)
    {
        return isset($this->options['maxResults'][$feature]) ? $this->options['maxResults'][$feature] : null;
    }