Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 594 Bytes

injector-lookup.md

File metadata and controls

27 lines (18 loc) · 594 Bytes

Command: injector:lookup

Shows which class is returned from an Injector reference.

Usage

$ ssconsole injector:lookup <className>

Options

Type Name Required Description Options Default
Argument className Yes The class name or Injector alias to look up string none

Example

$ ssconsole injector:lookup "Psr\Log\LoggerInterface"
Psr\Log\LoggerInterface resolves to Monolog\Logger
Module: monolog/monolog

Aliases

For backwards compatibility, object:lookup can also be used.