41 lines
791 B
PHP
41 lines
791 B
PHP
<?php
|
|
namespace Aiko\Database;
|
|
class QueryParam
|
|
{
|
|
private $dataType;
|
|
private $data;
|
|
private $placeHolder;
|
|
private $query;
|
|
public function dataType($dataType)
|
|
{
|
|
$this->dataType=$dataType;
|
|
return $this;
|
|
}
|
|
public function query($query)
|
|
{
|
|
$this->query=$query;
|
|
return $this;
|
|
}
|
|
public function data($data)
|
|
{
|
|
$this->data=$data;
|
|
return $this;
|
|
}
|
|
public function placeHolder($placeHolder)
|
|
{
|
|
$this->placeHolder=$placeHolder;
|
|
return $this;
|
|
}
|
|
public function getDataType()
|
|
{
|
|
return $this->dataType;
|
|
}
|
|
public function getData()
|
|
{
|
|
return $this->data;
|
|
}
|
|
public function getPlaceHolder()
|
|
{
|
|
return $this->placeHolder;
|
|
}
|
|
} |