*/ private $params; /** * The types of the parameters bound to the query. * * @var array */ private $types; /** * @param array $params * @param array $types * * @psalm-suppress ImpurePropertyAssignment */ public function __construct(string $sql, array $params, array $types) { $this->sql = $sql; $this->params = $params; $this->types = $types; } public function getSQL(): string { return $this->sql; } /** * @return array */ public function getParams(): array { return $this->params; } /** * @return array */ public function getTypes(): array { return $this->types; } }