public function compileSubject(string $subject = null): string
    {
        $settings = Plugin::getInstance()->getSettings();
        return $settings->prependSubject.($settings->prependSubject && $subject ? ' - ' : '').$subject;
    }
public function compileSubject(string $subject = null): string
    {
        $settings = Plugin::getInstance()->getSettings();
        return $settings->prependSubject.($settings->prependSubject && $subject ? ' - ' : '').$subject;
    }
public function compileSubject ( string $ subject = null ) : string { $ settings = Plugin :: getInstance ( ) -> getSettings ( ) ; return $ settings -> prependSubject . ( $ settings -> prependSubject && $ subject ? ' - ' : '' ) . $ subject ; }
Compiles the real email subject from the submitted subject.

@param string|null $subject
@return string
Compiles the real email subject from the submitted subject .