public function findMethodRange(File $file, LineRange $range)
    {
        $methodStartLine = $this->getMethodStartLine($file, $range);
        $methodEndLine = $this->getMethodEndLine($file, $range);

        return LineRange::fromLines($methodStartLine, $methodEndLine);
    }
public function findMethodRange(File $file, LineRange $range)
    {
        $methodStartLine = $this->getMethodStartLine($file, $range);
        $methodEndLine = $this->getMethodEndLine($file, $range);

        return LineRange::fromLines($methodStartLine, $methodEndLine);
    }
public function findMethodRange ( File $ file , LineRange $ range ) { $ methodStartLine = $ this -> getMethodStartLine ( $ file , $ range ) ; $ methodEndLine = $ this -> getMethodEndLine ( $ file , $ range ) ; return LineRange :: fromLines ( $ methodStartLine , $ methodEndLine ) ; }
From a range within a method, find the start and end range of that method.

@param File $file
@param LineRange $range

@return LineRange
From a range within a method find the start and end range of that method .