public function bind($param, $value, $type = 'string')
    {
        $this->_bindings[$param] = compact('value', 'type') + [
            'placeholder' => is_int($param) ? $param : substr($param, 1)
        ];
    }
public function bind($param, $value, $type = 'string')
    {
        $this->_bindings[$param] = compact('value', 'type') + [
            'placeholder' => is_int($param) ? $param : substr($param, 1)
        ];
    }
public function bind ( $ param , $ value , $ type = 'string' ) { $ this -> _bindings [ $ param ] = compact ( 'value' , 'type' ) + [ 'placeholder' => is_int ( $ param ) ? $ param : substr ( $ param , 1 ) ] ; }
Associates a query placeholder to a value and a type

@param string|int $param placeholder to be replaced with quoted version
of $value
@param mixed $value The value to be bound
@param string|int $type the mapped type name, used for casting when sending
to database
@return void
Associates a query placeholder to a value and a type