private function replace($bindings)
    {
        $search = array_keys($bindings);
        $replace = array_values($bindings);

        foreach ($search as $key => &$value) {
            $value = $this->delimiters[0].$value.$this->delimiters[1];
        }

        array_walk_recursive($this->rules, function(&$value, $key) use($search, $replace) {
            $value = str_ireplace($search, $replace, $value);
        });
    }
private function replace($bindings)
    {
        $search = array_keys($bindings);
        $replace = array_values($bindings);

        foreach ($search as $key => &$value) {
            $value = $this->delimiters[0].$value.$this->delimiters[1];
        }

        array_walk_recursive($this->rules, function(&$value, $key) use($search, $replace) {
            $value = str_ireplace($search, $replace, $value);
        });
    }
private function replace ( $ bindings ) { $ search = array_keys ( $ bindings ) ; $ replace = array_values ( $ bindings ) ; foreach ( $ search as $ key => & $ value ) { $ value = $ this -> delimiters [ 0 ] . $ value . $ this -> delimiters [ 1 ] ; } array_walk_recursive ( $ this -> rules , function ( & $ value , $ key ) use ( $ search , $ replace ) { $ value = str_ireplace ( $ search , $ replace , $ value ) ; } ) ; }
Replaces binding occurrences.

@param array $bindings
@return void
Replaces binding occurrences .