Total Complexity | 3 |
Total Lines | 55 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class InterviewDAO { |
||
11 | private $mysqli; |
||
12 | |||
13 | public function __construct($mysqli) { |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * Return the latest interviews, sorted by descending date |
||
19 | * |
||
20 | * @param integer $limit How many interviews to return |
||
21 | * @return \AL\Common\Model\Interview\Interview[] An array of interviews |
||
22 | */ |
||
23 | public function getLatestInterviews($limit = 20) { |
||
67 |