original_string: protected function locate_path($path) {
          $starturl = rtrim($this->getMinkParameter('base_url'), '/') . '/';
          return 0 !== strpos($path, 'http') ? $starturl . ltrim($path, '/') : $path;
      }
code: protected function locate_path($path) {
          $starturl = rtrim($this->getMinkParameter('base_url'), '/') . '/';
          return 0 !== strpos($path, 'http') ? $starturl . ltrim($path, '/') : $path;
      }
code_tokens: protected function locate_path ( $ path ) { $ starturl = rtrim ( $ this -> getMinkParameter ( 'base_url' ) , '/' ) . '/' ; return 0 !== strpos ( $ path , 'http' ) ? $ starturl . ltrim ( $ path , '/' ) : $ path ; }
docstring: Locates url, based on provided path.
  Override to provide custom routing mechanism.
  
  @see Behat\MinkExtension\Context\MinkContext
  @param string $path
  @return string
docstring_tokens: Locates url based on provided path . Override to provide custom routing mechanism .