DebugInjectorCommand

  • Full name: \CEKW\WpPlugin\DebugInjectorCommand
  • This class implements: \CEKW\WpPlugin\CommandInterface
Table of contents
  1. Properties
  2. Methods
    1. __construct
    2. __invoke
  3. OPTIONS
  4. Limit the result to the specified type.
  5. shares
  6. EXAMPLES
    1. typeNameToId

Properties

Name Type Description
injector \Auryn\Injector  

Methods

__construct

DebugInjectorCommand::__construct(\Auryn\Injector injector)

Parameters:

Parameter Type Description
injector \Auryn\Injector  

__invoke

Display classes and interfaces that can be type-hinted.

OPTIONS

[–type=]

Limit the result to the specified type.

default: all options:

  • all
  • classDefinitions
  • delegates
  • prepares
  • aliases
  • shares

EXAMPLES

wp cekw debug:injector
wp cekw debug:injector --type=aliases
DebugInjectorCommand::__invoke(array args, array assocArgs): mixed

Parameters:

Parameter Type Description
args array  
assocArgs array  

Returns: mixed

typeNameToId

DebugInjectorCommand::typeNameToId(string type): int

Parameters:

Parameter Type Description
type string  

Returns: int