PHP Class Neos\Neos\EventLog\Domain\Repository\EventRepository

Inheritance: extends Neos\Flow\Persistence\Doctrine\Repository
显示文件 Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$defaultOrderings array

Public Methods

Method Description
findRelevantEvents ( integer $offset, integer $limit ) : Neos\Flow\Persistence\QueryResultInterface Find all events which are "top-level", i.e. do not have a parent event.
findRelevantEventsByWorkspace ( integer $offset, integer $limit, string $workspaceName ) : Neos\Flow\Persistence\QueryResultInterface Find all events which are "top-level" and in a given workspace (or are not NodeEvents)
removeAll ( ) : void Remove all events without checking foreign keys. Needed for clearing the table during tests.

Protected Methods

Method Description
prepareRelevantEventsQuery ( ) : Query

Method Details

findRelevantEvents() public method

Find all events which are "top-level", i.e. do not have a parent event.
public findRelevantEvents ( integer $offset, integer $limit ) : Neos\Flow\Persistence\QueryResultInterface
$offset integer
$limit integer
return Neos\Flow\Persistence\QueryResultInterface

findRelevantEventsByWorkspace() public method

Find all events which are "top-level" and in a given workspace (or are not NodeEvents)
public findRelevantEventsByWorkspace ( integer $offset, integer $limit, string $workspaceName ) : Neos\Flow\Persistence\QueryResultInterface
$offset integer
$limit integer
$workspaceName string
return Neos\Flow\Persistence\QueryResultInterface

prepareRelevantEventsQuery() protected method

protected prepareRelevantEventsQuery ( ) : Query
return Neos\Flow\Persistence\Doctrine\Query

removeAll() public method

Remove all events without checking foreign keys. Needed for clearing the table during tests.
public removeAll ( ) : void
return void

Property Details

$defaultOrderings protected_oe property

protected array $defaultOrderings
return array