{ "manifests": { "prooph/event-store-symfony-bundle": { "manifest": { "bundles": { "Prooph\\Bundle\\EventStore\\ProophEventStoreBundle": [ "all" ] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/", "src/": "%SRC_DIR%/" } }, "files": { "config/packages/prooph_event_store.yaml": { "contents": [ "prooph_event_store:", " stores:", " default:", " event_store: 'app.event_store.default'", "", "services:", " _defaults:", " public: false", "", " Prooph\\EventSourcing\\EventStoreIntegration\\AggregateTranslator: null", "" ], "executable": false }, "src/Command/CreateEventStreamCommand.php": { "contents": [ "eventStore = $eventStore;", " }", "", " protected function configure()", " {", " $this->setName('event-store:event-stream:create')", " ->setDescription('Create event_stream.')", " ->setHelp('This command creates the event_stream');", " }", "", " protected function execute(InputInterface $input, OutputInterface $output)", " {", " $this->eventStore->create(new Stream(new StreamName('event_stream'), new \\ArrayIterator([])));", "", " $output->writeln('Event stream was created successfully.');", " }", "}", "" ], "executable": false } }, "ref": "a989875619b98a288abc2b636a2b5be36b4833d6" } } }