original_string: protected function _resolveClassName($class)
      {
          if (is_object($class)) {
              return $class;
          }
  
          $className = App::className($class, 'Mailer/Transport', 'Transport');
  
          if (!$className) {
              $className = App::className($class, 'Network/Email', 'Transport');
              if ($className) {
                  deprecationWarning(
                      'Transports in "Network/Email" are deprecated, use "Mailer/Transport" instead.'
                  );
              }
          }
  
          return $className;
      }
code: protected function _resolveClassName($class)
      {
          if (is_object($class)) {
              return $class;
          }
  
          $className = App::className($class, 'Mailer/Transport', 'Transport');
  
          if (!$className) {
              $className = App::className($class, 'Network/Email', 'Transport');
              if ($className) {
                  deprecationWarning(
                      'Transports in "Network/Email" are deprecated, use "Mailer/Transport" instead.'
                  );
              }
          }
  
          return $className;
      }
code_tokens: protected function _resolveClassName ( $ class ) { if ( is_object ( $ class ) ) { return $ class ; } $ className = App :: className ( $ class , 'Mailer/Transport' , 'Transport' ) ; if ( ! $ className ) { $ className = App :: className ( $ class , 'Network/Email' , 'Transport' ) ; if ( $ className ) { deprecationWarning ( 'Transports in "Network/Email" are deprecated, use "Mailer/Transport" instead.' ) ; } } return $ className ; }
docstring: Resolve a mailer tranport classname.
  
  Part of the template method for Cake\Core\ObjectRegistry::load()
  
  @param string|\Cake\Mailer\AbstractTransport $class Partial classname to resolve or transport instance.
  @return string|false Either the correct classname or false.
docstring_tokens: Resolve a mailer tranport classname .