protected function getPatterns()
    {
        $patterns = array();
        foreach($this->data as $pattern => $replacement) {
            $patterns[]     = '{' . $pattern . '}';
        }
        return $patterns;
    }