public function getProcessedReplacements()
    {
        $values = $this->getReplacements();

        if (null !== ($git = $this->getGitHashPlaceholder())) {
            $values[$git] = $this->getGitHash();
        }

        if (null !== ($git = $this->getGitShortHashPlaceholder())) {
            $values[$git] = $this->getGitHash(true);
        }

        if (null !== ($git = $this->getGitTagPlaceholder())) {
            $values[$git] = $this->getGitTag();
        }

        if (null !== ($git = $this->getGitVersionPlaceholder())) {
            $values[$git] = $this->getGitVersion();
        }

        if (null !== ($date = $this->getDatetimeNowPlaceHolder())) {
            $values[$date] = $this->getDatetimeNow($this->getDatetimeFormat());
        }

        $sigil = $this->getReplacementSigil();

        foreach ($values as $key => $value) {
            unset($values[$key]);

            $values["$sigil$key$sigil"] = $value;
        }

        return $values;
    }
public function getProcessedReplacements()
    {
        $values = $this->getReplacements();

        if (null !== ($git = $this->getGitHashPlaceholder())) {
            $values[$git] = $this->getGitHash();
        }

        if (null !== ($git = $this->getGitShortHashPlaceholder())) {
            $values[$git] = $this->getGitHash(true);
        }

        if (null !== ($git = $this->getGitTagPlaceholder())) {
            $values[$git] = $this->getGitTag();
        }

        if (null !== ($git = $this->getGitVersionPlaceholder())) {
            $values[$git] = $this->getGitVersion();
        }

        if (null !== ($date = $this->getDatetimeNowPlaceHolder())) {
            $values[$date] = $this->getDatetimeNow($this->getDatetimeFormat());
        }

        $sigil = $this->getReplacementSigil();

        foreach ($values as $key => $value) {
            unset($values[$key]);

            $values["$sigil$key$sigil"] = $value;
        }

        return $values;
    }
public function getProcessedReplacements ( ) { $ values = $ this -> getReplacements ( ) ; if ( null !== ( $ git = $ this -> getGitHashPlaceholder ( ) ) ) { $ values [ $ git ] = $ this -> getGitHash ( ) ; } if ( null !== ( $ git = $ this -> getGitShortHashPlaceholder ( ) ) ) { $ values [ $ git ] = $ this -> getGitHash ( true ) ; } if ( null !== ( $ git = $ this -> getGitTagPlaceholder ( ) ) ) { $ values [ $ git ] = $ this -> getGitTag ( ) ; } if ( null !== ( $ git = $ this -> getGitVersionPlaceholder ( ) ) ) { $ values [ $ git ] = $ this -> getGitVersion ( ) ; } if ( null !== ( $ date = $ this -> getDatetimeNowPlaceHolder ( ) ) ) { $ values [ $ date ] = $ this -> getDatetimeNow ( $ this -> getDatetimeFormat ( ) ) ; } $ sigil = $ this -> getReplacementSigil ( ) ; foreach ( $ values as $ key => $ value ) { unset ( $ values [ $ key ] ) ; $ values [ "$sigil$key$sigil" ] = $ value ; } return $ values ; }
Returns the processed list of replacement placeholders and their values.

@return array The list of replacements.
Returns the processed list of replacement placeholders and their values .