public function bind($value)
    {
        //Argument 1 must be an array, string or number
        Argument::i()->test(1, 'array', 'string', 'numeric', 'null');
        
        if (is_array($value)) {
            foreach ($value as $i => $item) {
                $value[$i] = $this->bind($item);
            }
            
            return '('.implode(",", $value).')';
        } else if (is_int($value) || ctype_digit($value)) {
            return $value;
        }
        
        $name = ':bind'.count($this->binds).'bind';
        $this->binds[$name] = $value;
        return $name;
    }
public function bind($value)
    {
        //Argument 1 must be an array, string or number
        Argument::i()->test(1, 'array', 'string', 'numeric', 'null');
        
        if (is_array($value)) {
            foreach ($value as $i => $item) {
                $value[$i] = $this->bind($item);
            }
            
            return '('.implode(",", $value).')';
        } else if (is_int($value) || ctype_digit($value)) {
            return $value;
        }
        
        $name = ':bind'.count($this->binds).'bind';
        $this->binds[$name] = $value;
        return $name;
    }
public function bind ( $ value ) { //Argument 1 must be an array, string or number Argument :: i ( ) -> test ( 1 , 'array' , 'string' , 'numeric' , 'null' ) ; if ( is_array ( $ value ) ) { foreach ( $ value as $ i => $ item ) { $ value [ $ i ] = $ this -> bind ( $ item ) ; } return '(' . implode ( "," , $ value ) . ')' ; } else if ( is_int ( $ value ) || ctype_digit ( $ value ) ) { return $ value ; } $ name = ':bind' . count ( $ this -> binds ) . 'bind' ; $ this -> binds [ $ name ] = $ value ; return $ name ; }
Binds a value and returns the bound key

@param *string|array|number|null $value What to bind

@return string
Binds a value and returns the bound key