Add deprecated method to make CMS tests work

This commit is contained in:
Sam Minnee 2017-06-29 11:49:22 +12:00 committed by Guy Sartorelli
parent 9eb9e13071
commit 81beddc161
No known key found for this signature in database
GPG Key ID: F313E3B9504D496A

View File

@ -95,6 +95,15 @@ abstract class Query implements \IteratorAggregate
return $this->getIterator()->current();
}
/**
* @deprecated Use record() instead
* @return array
*/
public function first()
{
return $this->record();
}
/**
* Returns the first column of the first record.
*