PHP Interface Neos\Flow\Persistence\QueryResultInterface

Inheritance: extends Countable, extends Iterator, extends ArrayAccess
Mostrar archivo Open project: neos/flow-development-collection Interface Usage Examples

Public Methods

Method Description
getFirst ( ) : object Returns the first object in the result set
getQuery ( ) : Neos\Flow\Persistence\QueryInterface Returns a clone of the query object
toArray ( ) : array Returns an array with the objects in the result set

Method Details

getFirst() public method

Returns the first object in the result set
public getFirst ( ) : object
return object

getQuery() public method

Returns a clone of the query object
public getQuery ( ) : Neos\Flow\Persistence\QueryInterface
return Neos\Flow\Persistence\QueryInterface

toArray() public method

Returns an array with the objects in the result set
public toArray ( ) : array
return array