1
0
mirror of synced 2025-03-28 10:53:49 +03:00

[amadeus] added getFirst() method

This commit is contained in:
doctrine 2006-07-22 01:19:51 +00:00
parent f6fa905ef2
commit 91ffb0845b

View File

@ -153,6 +153,12 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
public function addData(array $data) {
$this->data[] = $data;
}
/**
* @return mixed
*/
public function getFirst() {
return $this->data[0];
}
/**
* @return mixed
*/