Baleen\Cli\Provider\Services

interface Services

This interface contains constants for the names of services in the Service Container. Its useful in order to: A) reduce the coupling between classes for service providers (since they can use a single interface to reference services) and B) provide an easy way to override certain services for libraries that use Baleen CLI as their framework.

constant CONFIG

Reference to the Config service

constant CONFIG_STORAGE

Reference to the ConfigStorage service

constant BALEEN_BASE_DIR

Reference to Baleen CLI’s base directory

constant COMMAND_BUS

Reference to the CommandBus service

constant COMMANDS

Reference to an array of available commands

constant CMD_CONFIG_INIT

Reference to the config:init command

constant CMD_CONFIG_STATUS

Reference to the config:status command

constant CMD_TIMELINE_EXECUTE

Reference to the timeline:execute command

constant CMD_TIMELINE_MIGRATE

Reference to the timelien:migrate command

constant CMD_REPOSITORY_CREATE

Reference to the repository:create command

constant CMD_REPOSITORY_LATEST

Reference to the repository:latest command

constant CMD_REPOSITORY_LIST

Reference to the repository:list command

constant CMD_STORAGE_LATEST

Reference to the storage:latest command

constant APPLICATION

Reference to the Symfony Console Application instance

constant AUTOLOADER

Reference to the Composer autoloader

constant HELPERSET

Reference to the Symfony Console HelperSet to be used for the Application

constant HELPERSET_QUESTION

Reference to the Question console helper

constant HELPERSET_CONFIG

Reference to the Config console helper

constant REPOSITORY

Reference to the Repository service

constant REPOSITORY_FILESYSTEM

Reference to the Filesystem to be used for the Repository service

constant MIGRATION_FACTORY

Reference to the factory to be used to instantiate Migrations

constant STORAGE

Reference to the Storage service

constant TIMELINE

Reference to the Timeline service

constant COMPARATOR

Reference to the Comparator service