* @param $host Hostname to use
* @return void
*/
- function setConnectionData ($login, $pass, $dbase, $host='localhost');
+ function setConnectionData (string $login, string $pass, string $dbase, string $host = 'localhost');
/**
* Getter for connection data
* @param $criteriaInstance An instance of a Criteria class
* @return $result The result as an array
*/
- function doSelectByTableCriteria ($tableName, Criteria $criteriaInstance);
+ function doSelectByTableCriteria (string $tableName, Criteria $criteriaInstance);
/**
* Getter for last exception
* @param $tableName Name of table we need the primary key column from
* @return $primaryKey Primary key column of requested table
*/
- function getPrimaryKeyOfTable ($tableName);
+ function getPrimaryKeyOfTable (string $tableName);
/**
* Removes non-public data from given array.
* @param $tableName Table name
* @return $count Total rows of given table
*/
- function countTotalRows($tableName);
+ function countTotalRows (string $tableName);
}