question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Optional class for named services

See original GitHub issue

Maybe an autocoplemte #Class \ #Interface for service name.


AppBundle\EventListener\UserManager:
        tags:  ['kernel.event_subscriber']

http://symfony.com/blog/new-in-symfony-3-3-optional-class-for-named-services

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
luneticscommented, Mar 25, 2017

+1, was just about to create an issue for that. Would love to have that “clickable”

2reactions
luneticscommented, Mar 27, 2017

Thanks @Haehnchen !!! can be closed then!

Read more comments on GitHub >

github_iconTop Results From Across the Web

New in Symfony 3.3: Optional class for named services
In Symfony 3.3, the class argument of the services is now optional. When it's undefined, Symfony considers that the id of the service...
Read more >
[DI][DX] Optional class for named services DX issue #21380
The bar key is considered valid, and will be used as the Definition class, despite there is no bar class in the project....
Read more >
Java Optional as Return Type - Baeldung
The Optional type was introduced in Java 8. It provides a clear and explicit way to convey the message that there may not...
Read more >
Java 8 Optional Class with Examples
Java introduced a new class Optional in JDK 8. It is a public final class and is used to deal with NullPointerException in...
Read more >
How to use Optionals In Java - DZone
Prior the Optional class, many developers used either null or exceptions to denote when a desired value was not present; using the Optional...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found