Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • R randombanners
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • services
  • t3o sites
  • typo3.org
  • randombanners
  • Issues
  • #8

Closed
Open
Created Nov 04, 2019 by Stefan Busemann@stefan.busemannMaintainer0 of 1 task completed0/1 task

Deprecation: #85977 - Extbase CLI functionality, Command Controllers and @cli Annotation

ext_localconf.php Access to array key "commandControllers"

16: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'T3o\\Randombanners\\Command\\MonthlyCommandController';

** strong Classes/Command/MonthlyCommandController.php Usage of class "TYPO3\CMS\Extbase\Mvc\Controller\CommandController"**

20: class MonthlyCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandController {

Migration

Migrate custom commands within CommandControllers as symfony commands as TYPO3 Core does. Use specific argument definitions on what parameters will be available.

See documentation https://symfony.com/doc/current/console.html and https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/BackendModules/CliScripts/Index.html for detailed descriptions on how to write Console Commands and how to integrate them into TYPO3.

AC:

  • Refactor the command controller to symfony command
Edited Nov 04, 2019 by Stefan Busemann
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking