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

@return array
First arg for str_replace