Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
  • TYPO3.CMS
  • ..
  • master
  • Deprecation-89139-ConsoleCommandsConf...
Find file Blame History Permalink
  • bfr's avatar
    [FEATURE] Add dependency injection support for console commands · 0360ef3b
    bfr authored Sep 05, 2019 and Benni Mack's avatar Benni Mack committed Feb 14, 2020
    Transform CommandRegistry into a symfony CommandLoader which
    allows console commands to be created on demand.
    That means commands are lazy loaded in order to avoid creating
    all commands with all their dependencies in every console
    invocation. Command will now be loaded when they are either
    executed or when command metadata is required (e.g. for
    the command listing)
    
    The `site:list` command is adapted to make use of dependency injection.
    
    Releases: master
    Resolves: #89139
    Change-Id: I64256bf2dc21f0f3fe434aa5dff6176f0fe22233
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61630
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: default avatarAchim Fritz <af@achimfritz.de>
    Tested-by: default avatarBenni Mack <benni@typo3.org>
    Reviewed-by: default avatarAchim Fritz <af@achimfritz.de>
    Reviewed-by: default avatarBenni Mack <benni@typo3.org>
    0360ef3b