src/SQL/Compiler.php
protected function wrap($value)
    {
        if ($value instanceof Expression) {
            return $this->handleExpressions($value->getExpressions());
        }

        $wrapped = [];

        foreach (explode('.', $value) as $segment) {
            if ($segment == '*') {
                $wrapped[] = $segment;
            } else {
                $wrapped[] = sprintf($this->wrapper, $segment);
            }
        }

        return implode('.', $wrapped);
    }
protected function wrap($value)
    {
        if ($value instanceof Expression) {
            return $this->handleExpressions($value->getExpressions());
        }

        $wrapped = [];

        foreach (explode('.', $value) as $segment) {
            if ($segment == '*') {
                $wrapped[] = $segment;
            } else {
                $wrapped[] = sprintf($this->wrapper, $segment);
            }
        }

        return implode('.', $wrapped);
    }
protected function wrap ( $ value ) { if ( $ value instanceof Expression ) { return $ this -> handleExpressions ( $ value -> getExpressions ( ) ) ; } $ wrapped = [ ] ; foreach ( explode ( '.' , $ value ) as $ segment ) { if ( $ segment == '*' ) { $ wrapped [ ] = $ segment ; } else { $ wrapped [ ] = sprintf ( $ this -> wrapper , $ segment ) ; } } return implode ( '.' , $ wrapped ) ; }
Wrap a value

@param   mixed $value

@return  string
Wrap a value