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;
    }
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;
    }
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 ; }
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.
Resolve a mailer tranport classname .