Launchpad
Launchpad
Launchpad
  • Introduction
  • General
    • Installation
    • Creating a subscriber
    • Contributing
  • Tutorials
    • Beginner documentation
      • Beginner handbook
        • Creating subscribers
        • Wiring subscribers
        • Installing local environment
        • Adding front-end
        • Building the plugin
      • Plugin life circle
        • Activation
        • Deactivation
        • Uninstall
    • Starting with the framework
    • Migrating to Launchpad
    • Notions
      • Framework concepts
        • Inversion of control
        • Subscribers
        • Dispatcher
      • Good practices
        • Hooks
          • Preventing magic constants
          • Decouple features
          • Sanitize filters output
      • Testing
        • Organize tests
  • CLI
    • Commands
    • Creating a command
  • Testing
    • Unit test
    • Fixtures
    • Integration test
  • Container
    • Architecture
    • Parameters
    • Providers
    • Auto wiring
    • Manual wiring
    • Activation/Deactivation
    • Inflectors
  • Modules
    • Definition
    • Listing
      • Action Scheduler
      • BerlinDB
      • Bus
      • Options
      • Renderer
      • Logger
      • Uninstaller
      • Filesystem
      • Front-end
      • Hook extractor
    • Creating a module
Powered by GitBook
On this page
  • Description
  • Install
  • Usage
  1. Modules
  2. Listing

Bus

Description

A command bus for the Launchpad framework.

Install

Just run the following command: composer require wp-launchpad/bus-take-off

Usage

With this commandline the following command are available:

  • bus:make:query: Generate a query file and attach it to the project.

  • bus:make:command: Generate a command file and attach it to the project.

Make query

To create a query run the following command: bus:make:query Namespace/MyClass.

Make command

To create a subscriber run the following command: bus:make:command Namespace/MyClass.

PreviousBerlinDBNextOptions

Last updated 1 year ago