ContentStreamCommandController
class ContentStreamCommandController extends CommandController (View source)
Properties
protected ContentRepositoryRegistry | $contentRepositoryRegistry |
Methods
No description
Imports events to a content stream from the given file.
Remove all content streams which are not needed anymore from the projections.
Remove unused and deleted content streams from the event stream; effectively REMOVING information completely
Details
void
exportCommand(string $contentStreamIdentifier, string $contentRepositoryIdentifier = 'default', int $startSequenceNumber = 0)
No description
void
importCommand(string $contentStreamIdentifier, string $file = null)
Imports events to a content stream from the given file.
Note that the events in the file need to come from the same content stream you import to for now!
void
pruneCommand(string $contentRepositoryIdentifier = 'default')
Remove all content streams which are not needed anymore from the projections.
NOTE: This still keeps the event stream as is; so it would be possible to re-construct the content stream at a later point in time (though we currently do not provide any API for it).
To remove the deleted Content Streams, use ./flow contentStream:pruneRemovedFromEventStream
after running
./flow contentStream:prune
.
void
pruneRemovedFromEventStreamCommand(string $contentRepositoryIdentifier = 'default')
Remove unused and deleted content streams from the event stream; effectively REMOVING information completely