public function hasBelow(Text $text, $pattern, $location = null)
    {
        $searchStrategy = $this->searchEngine->resolve($pattern);
        $foundLineNumber = $searchStrategy->findBelow($text, $pattern, $location);

        return (false !== $foundLineNumber);
    }
public function hasBelow(Text $text, $pattern, $location = null)
    {
        $searchStrategy = $this->searchEngine->resolve($pattern);
        $foundLineNumber = $searchStrategy->findBelow($text, $pattern, $location);

        return (false !== $foundLineNumber);
    }
public function hasBelow ( Text $ text , $ pattern , $ location = null ) { $ searchStrategy = $ this -> searchEngine -> resolve ( $ pattern ) ; $ foundLineNumber = $ searchStrategy -> findBelow ( $ text , $ pattern , $ location ) ; return ( false !== $ foundLineNumber ) ; }
Checks the presence of the given pattern in the Text below the current
line.

@param Text  $text
@param mixed $pattern
@param int   $location

@return bool

@throws \Gnugat\Redaktilo\Exception\NotSupportedException If the given pattern isn't supported by any registered strategy

@api
Checks the presence of the given pattern in the Text below the current line .