original_string: public function attachTo($statement)
      {
          $bindings = $this->bindings();
          if (empty($bindings)) {
              return;
          }
  
          foreach ($bindings as $b) {
              $statement->bindValue($b['placeholder'], $b['value'], $b['type']);
          }
      }
code: public function attachTo($statement)
      {
          $bindings = $this->bindings();
          if (empty($bindings)) {
              return;
          }
  
          foreach ($bindings as $b) {
              $statement->bindValue($b['placeholder'], $b['value'], $b['type']);
          }
      }
code_tokens: public function attachTo ( $ statement ) { $ bindings = $ this -> bindings ( ) ; if ( empty ( $ bindings ) ) { return ; } foreach ( $ bindings as $ b ) { $ statement -> bindValue ( $ b [ 'placeholder' ] , $ b [ 'value' ] , $ b [ 'type' ] ) ; } }
docstring: Binds all the stored values in this object to the passed statement.
  
  @param \Cake\Database\StatementInterface $statement The statement to add parameters to.
  @return void
docstring_tokens: Binds all the stored values in this object to the passed statement .