public function setReplacements(array $replacements)
    {
        $this->replacements = array();

        foreach ($replacements as $property => $value) {
            $this->replacements['%' . $property . '%'] = $value;
        }

        return $this;
    }