public function getName()
    {
        if (!static::$name) {
            static::$name = str_replace(
                'Mailer',
                '',
                implode('', array_slice(explode('\\', get_class($this)), -1))
            );
        }

        return static::$name;
    }
public function getName()
    {
        if (!static::$name) {
            static::$name = str_replace(
                'Mailer',
                '',
                implode('', array_slice(explode('\\', get_class($this)), -1))
            );
        }

        return static::$name;
    }
public function getName ( ) { if ( ! static :: $ name ) { static :: $ name = str_replace ( 'Mailer' , '' , implode ( '' , array_slice ( explode ( '\\' , get_class ( $ this ) ) , - 1 ) ) ) ; } return static :: $ name ; }
Returns the mailer's name.

@return string
Returns the mailer s name .