public function attachTo($statement) { $bindings = $this->bindings(); if (empty($bindings)) { return; } $params = $types = []; foreach ($bindings as $b) { $statement->bindValue($b['placeholder'], $b['value'], $b['type']); } }