src/lib/Herrera/Box/Box.php
public function replaceValues($contents)
    {
        return str_replace(
            array_keys($this->values),
            array_values($this->values),
            $contents
        );
    }
public function replaceValues($contents)
    {
        return str_replace(
            array_keys($this->values),
            array_values($this->values),
            $contents
        );
    }
public function replaceValues ( $ contents ) { return str_replace ( array_keys ( $ this -> values ) , array_values ( $ this -> values ) , $ contents ) ; }
Replaces the placeholders with their values.

@param string $contents The contents.

@return string The replaced contents.
Replaces the placeholders with their values .