private function resolveSubject(Subject $part)
    {
        $subject = $part->getSubject();
        foreach ($part->getParameters() as $search => $replace) {
            $subject = str_replace($search, $replace, $subject);
        }

        return $subject;
    }
private function resolveSubject(Subject $part)
    {
        $subject = $part->getSubject();
        foreach ($part->getParameters() as $search => $replace) {
            $subject = str_replace($search, $replace, $subject);
        }

        return $subject;
    }
private function resolveSubject ( Subject $ part ) { $ subject = $ part -> getSubject ( ) ; foreach ( $ part -> getParameters ( ) as $ search => $ replace ) { $ subject = str_replace ( $ search , $ replace , $ subject ) ; } return $ subject ; }
Resolve the subject.

@return string
Resolve the subject .