Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17986

Symfony 4 - how to get to the documentation of setting up event subscribers?

From Marek S <precz@spamowi.com>
Newsgroups comp.lang.php
Subject Symfony 4 - how to get to the documentation of setting up event subscribers?
Date 2019-06-12 20:09 +0200
Organization ATMAN - ATM S.A.
Message-ID <qdrf5n$j7j$1@node2.news.atman.pl> (permalink)

Show all headers | View raw


Hi all,

I'm new in Symfony framework. I'm struggling now with Migrations event 
subscriber. I can't find any documentation explaining how to configure 
services. For this particular example I'm doing something like this:

//services.yaml

App\EventSubscribers\MigrationBugEvSubscriber:
         tags:
             - { name: ????, ????? }

Going through the Google, I tried to figure out how to get information 
about tag content: name of the Doctrine Migrations Bundle events and all 
other parameters. Official documentation says nothing:

https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html

https://www.doctrine-project.org/projects/doctrine-migrations/en/2.1/reference/events.html

In the future I will use much more bundles with its own events. Could 
you explain how to generally make the events available and how to find 
documentation?

...or maybe configuring events support via services.yaml is obsolete?

-- 
Regards,
Marek

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Symfony 4 - how to get to the documentation of setting up event subscribers? Marek S <precz@spamowi.com> - 2019-06-12 20:09 +0200
  Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Arno Welzel <usenet@arnowelzel.de> - 2019-06-13 14:50 +0200
    Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Marek S <precz@spamowi.com> - 2019-06-13 21:13 +0200
      Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Arno Welzel <usenet@arnowelzel.de> - 2019-06-14 13:16 +0200
        Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Marek S <precz@spamowi.com> - 2019-06-14 20:30 +0200
          Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Arno Welzel <usenet@arnowelzel.de> - 2019-06-15 18:00 +0200
            Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Marek S <precz@spamowi.com> - 2019-06-15 22:57 +0200
              Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Arno Welzel <usenet@arnowelzel.de> - 2019-06-16 09:31 +0200
                Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Marek S <precz@spamowi.com> - 2019-06-16 14:29 +0200
                Re: Symfony 4 - how to get to the documentation of setting up event subscribers? Arno Welzel <usenet@arnowelzel.de> - 2019-06-17 00:18 +0200

csiph-web