PHP Class Neos\Flow\Persistence\EmptyQueryResult

Inheritance: implements Neos\Flow\Persistence\QueryResultInterface
Mostrar archivo Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$query Neos\Flow\Persistence\QueryInterface

Public Methods

Method Description
__construct ( Neos\Flow\Persistence\QueryInterface $query ) Constructor
count ( ) : integer
current ( ) : object
getFirst ( ) : object Returns NULL
getQuery ( ) : Neos\Flow\Persistence\QueryInterface Returns a clone of the query object
key ( ) : integer
next ( ) : void
offsetExists ( mixed $offset ) : boolean
offsetGet ( mixed $offset ) : mixed
offsetSet ( mixed $offset, mixed $value ) : void
offsetUnset ( mixed $offset ) : void
rewind ( ) : void
toArray ( ) : array Returns an empty array
valid ( ) : boolean

Method Details

__construct() public method

Constructor
public __construct ( Neos\Flow\Persistence\QueryInterface $query )
$query Neos\Flow\Persistence\QueryInterface

count() public method

public count ( ) : integer
return integer Returns 0 in this case

current() public method

public current ( ) : object
return object Returns NULL in this case

getFirst() public method

Returns NULL
public getFirst ( ) : object
return object Returns NULL in this case

getQuery() public method

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

key() public method

public key ( ) : integer
return integer Returns 0 in this case

next() public method

public next ( ) : void
return void

offsetExists() public method

public offsetExists ( mixed $offset ) : boolean
$offset mixed
return boolean Returns FALSE in this case

offsetGet() public method

public offsetGet ( mixed $offset ) : mixed
$offset mixed
return mixed Returns NULL in this case

offsetSet() public method

public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed The offset is ignored in this case
$value mixed The value is ignored in this case
return void

offsetUnset() public method

public offsetUnset ( mixed $offset ) : void
$offset mixed The offset is ignored in this case
return void

rewind() public method

public rewind ( ) : void
return void

toArray() public method

Returns an empty array
public toArray ( ) : array
return array

valid() public method

public valid ( ) : boolean
return boolean Returns FALSE in this case

Property Details

$query protected_oe property

protected QueryInterface,Neos\Flow\Persistence $query
return Neos\Flow\Persistence\QueryInterface