original_string: public function setUrlCrawlPatterns(array $pattern = null)
      {
          $this->otherOptions['urlCrawlPattern'] = ($pattern === null) ? null
              : implode("||", array_map(function ($item) {
                  return urlencode($item);
              }, $pattern));
  
          return $this;
      }
code: public function setUrlCrawlPatterns(array $pattern = null)
      {
          $this->otherOptions['urlCrawlPattern'] = ($pattern === null) ? null
              : implode("||", array_map(function ($item) {
                  return urlencode($item);
              }, $pattern));
  
          return $this;
      }
code_tokens: public function setUrlCrawlPatterns ( array $ pattern = null ) { $ this -> otherOptions [ 'urlCrawlPattern' ] = ( $ pattern === null ) ? null : implode ( "||" , array_map ( function ( $ item ) { return urlencode ( $ item ) ; } , $ pattern ) ) ; return $ this ; }
docstring: Array of strings to limit pages crawled to those whose URLs
  contain any of the content strings.
  
  You can use the exclamation point to specify a negative string, e.g.
  !product to exclude URLs containing the string "product," and the ^ and
  $ characters to limit matches to the beginning or end of the URL.
  
  The use of a urlCrawlPattern will allow Crawlbot to spider outside of
  the seed domain; it will follow all matching URLs regardless of domain.
  
  @param array $pattern
  @return $this
docstring_tokens: Array of strings to limit pages crawled to those whose URLs contain any of the content strings .