original_string: public function uuid($object, $url)
      {
          deprecationWarning('View::uuid() is deprecated and will be removed in 4.0.0.');
  
          $c = 1;
          $url = Router::url($url);
          $hash = $object . substr(md5($object . $url), 0, 10);
          while (in_array($hash, $this->uuids)) {
              $hash = $object . substr(md5($object . $url . $c), 0, 10);
              $c++;
          }
          $this->uuids[] = $hash;
  
          return $hash;
      }
code: public function uuid($object, $url)
      {
          deprecationWarning('View::uuid() is deprecated and will be removed in 4.0.0.');
  
          $c = 1;
          $url = Router::url($url);
          $hash = $object . substr(md5($object . $url), 0, 10);
          while (in_array($hash, $this->uuids)) {
              $hash = $object . substr(md5($object . $url . $c), 0, 10);
              $c++;
          }
          $this->uuids[] = $hash;
  
          return $hash;
      }
code_tokens: public function uuid ( $ object , $ url ) { deprecationWarning ( 'View::uuid() is deprecated and will be removed in 4.0.0.' ) ; $ c = 1 ; $ url = Router :: url ( $ url ) ; $ hash = $ object . substr ( md5 ( $ object . $ url ) , 0 , 10 ) ; while ( in_array ( $ hash , $ this -> uuids ) ) { $ hash = $ object . substr ( md5 ( $ object . $ url . $ c ) , 0 , 10 ) ; $ c ++ ; } $ this -> uuids [ ] = $ hash ; return $ hash ; }
docstring: Generates a unique, non-random DOM ID for an object, based on the object type and the target URL.
  
  @param string $object Type of object, i.e. 'form' or 'link'
  @param string $url The object's target URL
  @return string
  @deprecated 3.7.0 This method is deprecated and will be removed in 4.0.0.
docstring_tokens: Generates a unique non - random DOM ID for an object based on the object type and the target URL .