name: FactoryCommandLoader
class_comment: '# * A simple command loader using factories to instantiate commands
  lazily.

  # *

  # * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>'
dependencies:
- name: Command
  type: class
  source: Symfony\Component\Console\Command\Command
- name: CommandNotFoundException
  type: class
  source: Symfony\Component\Console\Exception\CommandNotFoundException
properties: []
methods:
- name: __construct
  visibility: public
  parameters:
  - name: factories
  comment: '# * A simple command loader using factories to instantiate commands lazily.

    # *

    # * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>

    # */

    # class FactoryCommandLoader implements CommandLoaderInterface

    # {

    # /**

    # * @param callable[] $factories Indexed by command names'
- name: has
  visibility: public
  parameters:
  - name: name
  comment: null
- name: get
  visibility: public
  parameters:
  - name: name
  comment: null
- name: getNames
  visibility: public
  parameters: []
  comment: null
traits:
- Symfony\Component\Console\Command\Command
- Symfony\Component\Console\Exception\CommandNotFoundException
interfaces:
- CommandLoaderInterface