original_string: public static function className($class)
      {
          $result = App::className($class, 'Model/Behavior', 'Behavior');
          if (!$result) {
              $result = App::className($class, 'ORM/Behavior', 'Behavior');
          }
  
          return $result ?: null;
      }
code: public static function className($class)
      {
          $result = App::className($class, 'Model/Behavior', 'Behavior');
          if (!$result) {
              $result = App::className($class, 'ORM/Behavior', 'Behavior');
          }
  
          return $result ?: null;
      }
code_tokens: public static function className ( $ class ) { $ result = App :: className ( $ class , 'Model/Behavior' , 'Behavior' ) ; if ( ! $ result ) { $ result = App :: className ( $ class , 'ORM/Behavior' , 'Behavior' ) ; } return $ result ? : null ; }
docstring: Resolve a behavior classname.
  
  @param string $class Partial classname to resolve.
  @return string|null Either the correct classname or null.
  @since 3.5.7
docstring_tokens: Resolve a behavior classname .