Skip to content

DI: explain what are DI related objects' methods forΒ #847

@dakur

Description

@dakur

DI docs explains well what are CompilerExtension methods for. πŸ‘

However – as I'm still quite untouched by Nette DI implementation world – I have no idea what to do with the other stuff. Say I have two classes and I want to pass reference on one of them to the second. But now I have many methods called by many new terms and I do not know how to use them at all.

image

I think at least defining what each term means and how they relate together would be good. Yes, it is kinda spread in other DI docs, but you have to read it all through until you find something. Kind of dictionary with explanation may be helpful.

Terms which come to my mind to be added:

  • container
  • compiler
  • builder
  • service
  • type
  • tag
  • setup
  • definition

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions